PHP Class Bosnadev\Repositories\Console\Commands\MakeCriteriaCommand

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

Protected Properties

Property Type Description
$composer
$creator
$description string The console command description.
$name string The name and signature of the console command.

Public Methods

Method Description
__construct ( CriteriaCreator $creator )
handle ( ) : mixed Execute the console command.
writeCriteria ( $arguments, $options ) Write the criteria.

Protected Methods

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

Method Details

__construct() public method

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

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

writeCriteria() public method

Write the criteria.
public writeCriteria ( $arguments, $options )
$arguments
$options

Property Details

$composer protected_oe property

protected $composer

$creator protected_oe property

protected $creator

$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