예제 #1
0
 /**
  * Getting array of errors with the necessary code.
  * @param string $code Code of error.
  * @return Error[]
  */
 public function getErrorsByCode($code)
 {
     return array_merge(parent::getErrorsByCode($code), $this->getRealObject()->getErrorsByCode($code));
 }