getProfileId() public method

Get user profile id on the current OAuth2 server.
public getProfileId ( ) : string
return string
Example #1
0
 /**
  * @param OAuth2User $u
  *
  * @dataProvider dataProvider
  */
 public function testSetGetProfileId($u)
 {
     $pid = 123;
     $u->setProfileId($pid);
     $this->assertSame($pid, $u->getProfileId());
     $this->assertSame($pid, $u->profileId);
 }