PHP Class Migrations\Shell\Task\SeedTask

Inheritance: extends Bake\Shell\Task\SimpleBakeTask
Datei anzeigen Open project: cakephp/migrations Class Usage Examples

Public Properties

Property Type Description
$pathFragment string path to Migration directory

Public Methods

Method Description
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.

Protected Methods

Method Description
prettifyArray ( array $array, integer $tabCount = 3, string $indentCharacter = " " ) : string Prettify var_export of an array output

Method Details

bake() public method

{@inheritDoc}
public bake ( $name )

fileName() public method

{@inheritDoc}
public fileName ( $name )

getOptionParser() public method

Gets the option parser instance and configures it.
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
return Cake\Console\ConsoleOptionParser

getPath() public method

{@inheritDoc}
public getPath ( )

name() public method

{@inheritDoc}
public name ( )

prettifyArray() protected method

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.
return string

template() public method

{@inheritDoc}
public template ( )

templateData() public method

Get template data.
public templateData ( ) : array
return array

Property Details

$pathFragment public_oe property

path to Migration directory
public string $pathFragment
return string