Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Console
/
Factories
/
stubs
:
PublishingStubs.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Illuminate\Foundation\Events; class PublishingStubs { use Dispatchable; /** * The stubs being published. * * @var array */ public $stubs = []; /** * Create a new event instance. * * @param array $stubs * @return void */ public function __construct(array $stubs) { $this->stubs = $stubs; } /** * Add a new stub to be published. * * @param string $path * @param string $name * @return $this */ public function add(string $path, string $name) { $this->stubs[$path] = $name; return $this; } }