protected function managerMustExist() { if (!$this->manager) { throw new \LogicException("You cannot write mapping data without a manager being defined"); } }