Ojs\UserBundle\Entity\Role::getRole PHP Метод

getRole() публичный Метод

Get role
public getRole ( ) : string
Результат string
    public function getRole()
    {
        return $this->role;
    }