public function __construct($errorData) { $this->_errors = new ValidationErrorCollection($errorData); }