PHP Class Gregwar\RST\Kernel

Show file Open project: gregwar/rst Class Usage Examples

Public Methods

Method Description
build ( $name, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null ) Create an instance of some class
getClass ( $name ) Gets the class for the given name
getDirectives ( ) Gets the available directives
getFileExtension ( ) Get the output files extension
getName ( ) Get the name of the kernel
getReferences ( ) Document references
initBuilder ( Builder $builder ) Allowing the kernel to tweak the builder
postParse ( Gregwar\RST\Document $document ) Allowing the kernel to tweak document after the build

Method Details

build() public method

Create an instance of some class
public build ( $name, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null )

getClass() public method

Gets the class for the given name
public getClass ( $name )

getDirectives() public method

Gets the available directives
public getDirectives ( )

getFileExtension() public method

Get the output files extension
public getFileExtension ( )

getName() abstract public method

Get the name of the kernel
abstract public getName ( )

getReferences() public method

Document references
public getReferences ( )

initBuilder() public method

Allowing the kernel to tweak the builder
public initBuilder ( Builder $builder )
$builder Builder

postParse() public method

Allowing the kernel to tweak document after the build
public postParse ( Gregwar\RST\Document $document )
$document Gregwar\RST\Document