PHP Class TheSeer\Autoload\StaticRenderer

Author: Arne Blankerts ([email protected])
Inheritance: extends AutoloadRenderer
Mostrar archivo Open project: theseer/autoload Class Usage Examples

Protected Properties

Property Type Description
$dependencies
$phar
$require

Public Methods

Method Description
render ( string $template ) : string
setDependencies ( array $dep ) Setter for Dependency Array
setPharMode ( boolean $phar ) Toggle phar outut mode
setRequireOnce ( boolean $mode ) Toggle wether or not to use require_once over require

Protected Methods

Method Description
sortByDependency ( ) : array Helper to sort classes/interfaces and traits based on their depdendency info

Method Details

render() public method

public render ( string $template ) : string
$template string
return string

setDependencies() public method

Setter for Dependency Array
public setDependencies ( array $dep )
$dep array Dependency Array from classfinder

setPharMode() public method

Toggle phar outut mode
public setPharMode ( boolean $phar )
$phar boolean

setRequireOnce() public method

Toggle wether or not to use require_once over require
public setRequireOnce ( boolean $mode )
$mode boolean

sortByDependency() protected method

Helper to sort classes/interfaces and traits based on their depdendency info
protected sortByDependency ( ) : array
return array

Property Details

$dependencies protected_oe property

protected $dependencies

$phar protected_oe property

protected $phar

$require protected_oe property

protected $require