예제 #1
0
 /**
  * Adds an error to the collection.
  * @param Error $error An error object.
  * @param $offset Offset in the array.
  * @return void
  */
 public function setError(Error $error, $offset = null)
 {
     parent::offsetSet($offset, $error);
 }
예제 #2
0
 /**
  * Offset to set error.
  * @param Error $offset Offset.
  * @param string|int $value Error.
  * @throws ArgumentTypeException
  * @return void
  */
 public function offsetSet($offset, $value)
 {
     $this->checkType($value);
     parent::offsetSet($offset, $value);
 }
예제 #3
0
 public function __construct(array $values = null)
 {
     parent::__construct($values);
 }