Kraken\Supervision\Solver::__construct PHP Method

__construct() public method

public __construct ( mixed[] $context = [] )
$context mixed[]
    public function __construct($context = [])
    {
        $this->context = $context;
        $this->construct();
    }

Usage Example

Beispiel #1
0
 /**
  * @param mixed[] $context
  * @throws InstantiationException
  */
 public function __construct($context = [])
 {
     if (!isset($context['runtime'])) {
         throw new InstantiationException('[' . __CLASS__ . '] could not been initialized.');
     }
     $this->runtime = $context['runtime'];
     unset($context['runtime']);
     parent::__construct($context);
 }
All Usage Examples Of Kraken\Supervision\Solver::__construct