PHP Class Bravo3\Orm\Drivers\Filesystem\Workers\AddSortedIndexWorker

Inheritance: extends AbstractFilesystemWorker
Datei anzeigen Open project: bravo3/orm

Public Methods

Method Description
execute ( array $parameters ) : void Execute the command
getRequiredParameters ( ) : string[] Returns a list of required parameters

Protected Methods

Method Description
sortAndWrite ( array $content, string $key ) Sort the data and write it to the filesystem

Method Details

execute() public method

Execute the command
public execute ( array $parameters ) : void
$parameters array
return void

getRequiredParameters() public method

Returns a list of required parameters
public getRequiredParameters ( ) : string[]
return string[]

sortAndWrite() protected method

Sort the data and write it to the filesystem
protected sortAndWrite ( array $content, string $key )
$content array
$key string