Class ClassArgument
Factory argument that is class type-hinted.
-
Autarky\Container\Factory\AbstractArgument
-
Autarky\Container\Factory\ClassArgument
implements
Autarky\Container\Factory\ArgumentInterface
Methods summary
public
|
#
__construct( integer $position, string $name, string $class, boolean $required = true )
Constructor.
Parameters
- $position
- $name
- $class
- $required
Overrides
|
public
boolean
|
#
isClass( )
Whether the argument is a class.
Whether the argument is a class.
Returns
boolean
Implementation of
|
public
string
|
#
getClass( )
Get the name of the class type of the argument.
Get the name of the class type of the argument.
Returns
string
|
Properties summary
protected
string
|
$class
|
|