/** * @param $login * @return null|string */ public function getUserTypeByLogin($login) { $userType = $this->dataProvider->getUserTypeByLogin($login); return $userType; }