PHP Class Devise\Models\Scaffolding\SeederScaffolding

Show file Open project: devisephp/cms

Protected Properties

Property Type Description
$constants
$fields

Public Methods

Method Description
__construct ( Framework $Framework )
build ( $constants ) : boolean
getDatabaseSeederPath ( ) : string
getTargetFilePath ( $templateFile ) : string
getTemplatePath ( ) : string
saveSeed ( $targetFile, $template ) : mixed

Private Methods

Method Description
buildAllSeeders ( )
buildSeeder ( $templateFile ) : mixed

Method Details

__construct() public method

public __construct ( Framework $Framework )
$Framework Devise\Support\Framework

build() public method

public build ( $constants ) : boolean
$constants
return boolean

getDatabaseSeederPath() public method

public getDatabaseSeederPath ( ) : string
return string

getTargetFilePath() public method

public getTargetFilePath ( $templateFile ) : string
$templateFile
return string

getTemplatePath() public method

public getTemplatePath ( ) : string
return string

saveSeed() public method

public saveSeed ( $targetFile, $template ) : mixed
$targetFile
$template
return mixed

Property Details

$constants protected property

protected $constants

$fields protected property

protected $fields