public function __construct(array $depencesStack)
 {
     foreach ($depencesStack as $dependence) {
         $msg .= $dependence . " -> ";
     }
     $msg .= current($depencesStack);
     parent::__construct("Auto build can't slove dependence cycle:\n" . $msg);
 }
Esempio n. 2
0
 public function __construct($type, $key)
 {
     $msg = "Register type {$type}[{$key}] has already registed.";
     parent::__construct($msg);
 }
Esempio n. 3
0
 public function __construct($type, $key)
 {
     $msg = "Get instance of {$type}[{$key}] is not registed.";
     parent::__construct($msg);
 }
 public function __construct(\ReflectionParameter $parameter)
 {
     $msg = "Unresolvable dependency resolving [{$parameter}] in class {$parameter->getDeclaringClass()->getName()}";
     parent::__construct($msg);
 }
Esempio n. 5
0
 public function __construct($type, $key)
 {
     $msg = "Register type {$type}[{$key}] is not exist.";
     parent::__construct($msg);
 }
Esempio n. 6
0
 public function __construct($type)
 {
     $msg = "Make instance of {$type} failed.";
     parent::__construct($msg);
 }
 public function __construct($type, $key)
 {
     $msg = "Instance registering is not type of {$type}[{$key}].";
     parent::__construct($msg, $code, $previous);
 }