public supportsClass ( string $class ) : true | ||
$class | string | A class name |
return | true | if this Voter can process the class |
public function supportsClass($class)
{
return true;
}
/** * @dataProvider supportsClassProvider */ public function testSupportsClass($class) { $voter = new CoreVoter($this->repository); $this->assertTrue($voter->supportsClass($class)); }