示例#1
0
 public function testGetClass()
 {
     $this->assertEquals(static::USER_CLASS, $this->userManager->getClass());
 }
示例#2
0
 /**
  * {@inheritDoc}
  */
 public function supportsClass($class)
 {
     $userClass = $this->userManager->getClass();
     return $userClass === $class || is_subclass_of($class, $userClass);
 }