PHP Class Bosnadev\Repositories\Console\Commands\MakeRepositoryCommand

Inheritance: extends Illuminate\Console\Command
Mostra file Open project: bosnadev/repositories

Protected Properties

Property Type Description
$composer
$creator Bosnadev\Repositories\Console\Commands\Creators\RepositoryCreator
$description string The console command description.
$name string The name and signature of the console command.

Public Methods

Method Description
__construct ( RepositoryCreator $creator )
handle ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
writeRepository ( $arguments, $options )

Method Details

__construct() public method

public __construct ( RepositoryCreator $creator )
$creator Bosnadev\Repositories\Console\Commands\Creators\RepositoryCreator

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed

writeRepository() protected method

protected writeRepository ( $arguments, $options )
$arguments
$options

Property Details

$composer protected_oe property

protected $composer

$creator protected_oe property

protected RepositoryCreator,Bosnadev\Repositories\Console\Commands\Creators $creator
return Bosnadev\Repositories\Console\Commands\Creators\RepositoryCreator

$description protected_oe property

The console command description.
protected string $description
return string

$name protected_oe property

The name and signature of the console command.
protected string $name
return string