src/Phlexible/Bundle/AccessControlBundle/SecurityProvider/UserSecurityProvider.php
public function resolveName($securityType, $securityId)
    {
        if ($securityType !== $this->userClass) {
            return null;
        }

        return $this->userManager->find($securityId)->getDisplayName();
    }
public function resolveName($securityType, $securityId)
    {
        if ($securityType !== $this->userClass) {
            return null;
        }

        return $this->userManager->find($securityId)->getDisplayName();
    }
public function resolveName ( $ securityType , $ securityId ) { if ( $ securityType !== $ this -> userClass ) { return null ; } return $ this -> userManager -> find ( $ securityId ) -> getDisplayName ( ) ; }
Return security name.

@param string $securityType
@param string $securityId

@return string
Return security name .