PHP Class Bosnadev\Repositories\Console\Commands\MakeCriteriaCommand

Inheritance: extends Illuminate\Console\Command
Show 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 property

protected $composer

$creator protected property

protected $creator

$description protected property

The console command description.
protected string $description
return string

$name protected property

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