PHP Class ConvertTimestamp, learninglocker

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: learninglocker/learninglocker

Protected Properties

Свойство Type Description
$description string The console command description.
$name string The console command name.

Méthodes publiques

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

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( ) : void
Résultat void

fire() public méthode

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
Résultat string

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$name protected_oe property

The console command name.
protected string $name
Résultat string