public function getArrayCopy() { return $this->items; }
/** * @param ErrorCollection $errors * * @return void */ private function checkErrors(ErrorCollection $errors) { if (empty($errors->getArrayCopy()) === false) { throw new E($errors); } }