PHP Класс Migrations\Shell\Task\SeedTask

Наследование: extends Bake\Shell\Task\SimpleBakeTask
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$pathFragment string path to Migration directory

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

Метод Описание
bake ( $name ) {@inheritDoc}
fileName ( $name ) {@inheritDoc}
getOptionParser ( ) : Cake\Console\ConsoleOptionParser Gets the option parser instance and configures it.
getPath ( ) {@inheritDoc}
name ( ) {@inheritDoc}
template ( ) {@inheritDoc}
templateData ( ) : array Get template data.

Защищенные методы

Метод Описание
prettifyArray ( array $array, integer $tabCount = 3, string $indentCharacter = " " ) : string Prettify var_export of an array output

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

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

{@inheritDoc}
public bake ( $name )

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

{@inheritDoc}
public fileName ( $name )

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

Gets the option parser instance and configures it.
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
Результат Cake\Console\ConsoleOptionParser

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

{@inheritDoc}
public getPath ( )

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

{@inheritDoc}
public name ( )

prettifyArray() защищенный Метод

Prettify var_export of an array output
protected prettifyArray ( array $array, integer $tabCount = 3, string $indentCharacter = " " ) : string
$array array Array to prettify
$tabCount integer Initial tab count
$indentCharacter string Desired indent for the code.
Результат string

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

{@inheritDoc}
public template ( )

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

Get template data.
public templateData ( ) : array
Результат array

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

$pathFragment публичное свойство

path to Migration directory
public string $pathFragment
Результат string