Symfony\Component\Security\Core\Authentication\Token\AnonymousToken::getSecret PHP 메소드

getSecret() 공개 메소드

Returns the secret.
public getSecret ( ) : string
리턴 string
    public function getSecret()
    {
        return $this->secret;
    }

Usage Example

예제 #1
0
 public function testGetKey()
 {
     $token = new AnonymousToken('foo', 'bar');
     $this->assertEquals('foo', $token->getSecret());
 }