class Illuminate / Foundation / Events / PublishingStubs
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

PublishingStubs

Uses

Properties

public

$stubs array

The stubs being published.

Default: []

Methods

public

__construct ( array $stubs ) : void

Create a new event instance.

Parameters

  • $stubs array
public

add ( string $path , string $name ) : $this

Add a new stub to be published.

Parameters

  • $path string
  • $name string