PHP Class ConvertTimestamp, learninglocker

Inheritance: extends Illuminate\Console\Command
Mostrar archivo Open project: learninglocker/learninglocker

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.

Public Methods

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

Method Details

__construct() public method

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

fire() public method

Loop through all statements and create a new key in the document route. This key 'convertedTimestamp' is the same as the statement timestamp but in a data format the MongoDB aggregation function needs.
public fire ( ) : string
return string

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$name protected_oe property

The console command name.
protected string $name
return string