Exemplo n.º 1
0
 public function __construct($editor_id, $code = 500, \Exception $previous = null)
 {
     $this->editor_id = $editor_id;
     parent::__construct("Editor not defined: {$editor_id}.", $code, $previous);
 }
 /**
  * @param string $relation_name
  * @param RelationCollection $collection
  * @param int $code
  * @param \Exception|null $previous
  */
 public function __construct($relation_name, RelationCollection $collection, $code = 500, \Exception $previous = null)
 {
     $this->relation_name = $relation_name;
     $this->collection = $collection;
     parent::__construct([$relation_name, $collection], $code, $previous);
 }