Eccube\Security\Voter\AuthorityVoter::supportsClass PHP Method

supportsClass() public method

public supportsClass ( $class )
    public function supportsClass($class)
    {
        return true;
    }

Usage Example

 public function testSupportsClass()
 {
     $voter = new AuthorityVoter($this->app);
     $this->assertTrue($voter->supportsClass('Foo'));
 }