PHP Class Evercode1\ViewMaker\CrudTokens

Datei anzeigen Open project: evercode1/view-maker Class Usage Examples

Public Properties

Property Type Description
$child
$model
$parent
$slug

Public Methods

Method Description
__construct ( array $tokens )
formatTokens ( )
insertTokensIntoContent ( $content ) : mixed

Private Methods

Method Description
formatApiControllerMethod ( $model )
formatChartApiControllerMethod ( $model )
formatChildRelation ( $child )
formatInstanceName ( $model )
formatMigrationModel ( $model )
formatModelName ( $model )
formatModelPath ( $model )
formatModelResults ( $model )
formatParentsTableName ( $parent )
formatTableName ( $model )
formatVueApiControllerMethod ( $model )

Method Details

__construct() public method

public __construct ( array $tokens )
$tokens array

formatTokens() public method

public formatTokens ( )

insertTokensIntoContent() public method

public insertTokensIntoContent ( $content ) : mixed
$content
return mixed

Property Details

$child public_oe property

public $child

$model public_oe property

public $model

$parent public_oe property

public $parent

$slug public_oe property

public $slug