/** * @param string $key * @return InstructorInterface */ public function getInstructor($key) { $instructor = null; if (true === $this->object->hasInstructor($key)) { $instructor = $this->object->getInstructor($key); } return $instructor; }