PHP Class Tdt\Core\Commands\DcatLicenses

Inheritance: extends Illuminate\Console\Command
Show file Open project: tdt/core

Protected Properties

Property Type Description
$DEFAULT_LICENSE string The default license
$description string The console command description.
$licenses_uri string The URI for the default licenses
$name string The console command name.

Public Methods

Method Description
__construct ( ) : void Create a new command instance.
fire ( ) : void Execute the console command.

Protected Methods

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

Private Methods

Method Description
fetchDefaultGraph ( ) : EasyRdf_Graph Fetch the default licenses
seedLicenses ( ) Seed the themes

Method Details

__construct() public method

Create a new command instance.
public __construct ( ) : void
return void

fire() public method

Ask the user which functionality he wants to use (definitions|users) then based on the input, proceed with the logic for chosen option. This option is given as an input argument upon making the command.
public fire ( ) : void
return void

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

Property Details

$DEFAULT_LICENSE protected property

The default license
protected string $DEFAULT_LICENSE
return string

$description protected property

The console command description.
protected string $description
return string

$licenses_uri protected property

The URI for the default licenses
protected string $licenses_uri
return string

$name protected property

The console command name.
protected string $name
return string