PHP Class Webiny\Component\ServiceManager\Argument

Inheritance: use trait Webiny\Component\StdLib\StdLibTrait
Exibir arquivo Open project: Webiny/Framework Class Usage Examples

Public Methods

Method Description
__construct ( mixed $argument ) Create Argument instance
value ( ) : mixed Get real Argument value

Private Methods

Method Description
createValue ( mixed $object, array $arguments = [] ) : mixed | object Create proper argument value
parseArguments ( $arguments )

Method Details

__construct() public method

Create Argument instance
public __construct ( mixed $argument )
$argument mixed Value to wrap into Argument instance

value() public method

Get real Argument value
public value ( ) : mixed
return mixed