Silly\Application::__construct PHP Method

__construct() public method

public __construct ( $name = 'UNKNOWN', $version = 'UNKNOWN' )
    public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
    {
        $this->expressionParser = new ExpressionParser();
        $this->invoker = new Invoker($this->createParameterResolver());
        parent::__construct($name, $version);
    }

Usage Example

Example #1
0
 public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN', PimpleInterop $container = null)
 {
     parent::__construct($name, $version);
     $container = $container ?: new PimpleInterop();
     $this->useContainer($container, true, true);
 }
All Usage Examples Of Silly\Application::__construct