Methods summary
public
|
#
__construct( Interop\Container\ContainerInterface $container )
|
public
object
|
#
load( string $name )
Loads/constructs an object instance
Loads/constructs an object instance
Parameters
Returns
object
|
public
object
|
#
factory( string $name, array $options = [] )
Return new instance
Parameters
Returns
object
|
public
|
#
factoryCallback( null|callable $callback = null )
Factory callback getter/setter
Factory callback getter/setter
Parameters
Returns
$this|\Closure
|
public
array
|
#
options( string $name )
Return options from configuration
Return options from configuration
Parameters
Returns
array
|
protected
string
|
#
prefix( string $name )
Add prefix
'PostModel' -> 'models\PostModel'
Parameters
Returns
string
|
public
object|momentphp\Registry
|
#
__get( string $name )
Loads/constructs an object instance
Loads/constructs an object instance
Parameters
Returns
|
public
boolean
|
#
__isset( string $name )
Dynamic properties inside Twig templates
Dynamic properties inside Twig templates
Parameters
Returns
boolean
Link
|