PHP Класс ConvertTimestamp, learninglocker

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$name string The console command name.

Открытые методы

Метод Описание
__construct ( ) : void Create a new command instance.
fire ( ) : string Execute the console command.

Описание методов

__construct() публичный Метод

Create a new command instance.
public __construct ( ) : void
Результат void

fire() публичный Метод

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
Результат string

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$name защищенное свойство

The console command name.
protected string $name
Результат string