src/main/php/auth/AuthConstraint.php
public function requiredRole()
    {
        if (null === $this->requiredRole) {
            $this->requiredRole = $this->callbackAnnotatedWith->requiredRole();
        }

        return $this->requiredRole;
    }
public function requiredRole()
    {
        if (null === $this->requiredRole) {
            $this->requiredRole = $this->callbackAnnotatedWith->requiredRole();
        }

        return $this->requiredRole;
    }
public function requiredRole ( ) { if ( null === $ this -> requiredRole ) { $ this -> requiredRole = $ this -> callbackAnnotatedWith -> requiredRole ( ) ; } return $ this -> requiredRole ; }
returns required role for this route

@return  string|null
@XmlAttribute(attributeName='role', skipEmpty=true)
returns required role for this route