Documentation

Generator
in package

Table of Contents

$config  : Repository
$extra  : mixed
$helpers  : mixed
$interfaces  : mixed
$magic  : mixed
$output  : OutputInterface
$view  : Factory
__construct()  : mixed
generate()  : mixed
Generate the helper file contents;
generateJsonHelper()  : mixed
generatePhpHelper()  : mixed
detectDrivers()  : mixed
error()  : void
Write a string as error output.
getAliases()  : mixed
getAliasesByAliasNamespace()  : Collection
Regroup aliases by namespace of alias
getAliasesByExtendsNamespace()  : Collection
Regroup aliases by namespace of extended classes
getValidAliases()  : Collection
Find all aliases that are valid for us to render

Properties

$interfaces

protected mixed $interfaces = array()

Methods

generate()

Generate the helper file contents;

public generate([string $format = 'php' ]) : mixed
Parameters
$format : string = 'php'

The format to generate the helper in (php/json)

Return values
mixed

generateJsonHelper()

public generateJsonHelper() : mixed
Return values
mixed

generatePhpHelper()

public generatePhpHelper() : mixed
Return values
mixed

detectDrivers()

protected detectDrivers() : mixed
Return values
mixed

error()

Write a string as error output.

protected error(string $string) : void
Parameters
$string : string
Return values
void

getAliases()

protected getAliases() : mixed
Return values
mixed

getAliasesByAliasNamespace()

Regroup aliases by namespace of alias

protected getAliasesByAliasNamespace() : Collection
Return values
Collection

getAliasesByExtendsNamespace()

Regroup aliases by namespace of extended classes

protected getAliasesByExtendsNamespace() : Collection
Return values
Collection

Search results