W3cubDocs

/Laravel 5.2

ControllerGenerator

class ControllerGenerator (View source)

Methods

void __construct( Filesystem $files)

Create a new controller generator instance.

void make( string $controller, string $path, array $options = array())

Create a new resourceful controller file.

Details

void __construct( Filesystem $files)

Create a new controller generator instance.

Parameters

Filesystem $files

Return Value

void

void make( string $controller, string $path, array $options = array())

Create a new resourceful controller file.

Parameters

string $controller
string $path
array $options

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Routing/Generators/ControllerGenerator.html