/** * Determine if the class already exists. * * @param string $rawName * @return bool */ protected function alreadyExists($rawName) { try { $reflection = new ReflectionClass($rawName); return true; } catch (Exception $e) { return false; } return parent::alreadyExists($rawName); }