/** * * @param string $type * @return User */ public function getByType($type) { return $this->dao->getByType($type); }