Esempio n. 1
0
 /**
  * Initializes exception.
  *
  * @param string $message
  * @param string $path
  */
 public function __construct($message, $path)
 {
     parent::__construct($message);
     $this->path = $path;
 }
 public function __construct($type, $services)
 {
     parent::__construct(sprintf('Ambiguous services for class "%s". You should use concrete service name instead of class: "%s"', $type, implode('", "', $services)));
 }