public function isType($entityType)
{
if ($this->entityType !== null) {
throw new InvalidPolicyException('You can use only exactly one isType definition in an entity privilege matcher. Already had "' . $this->entityType . '" and got another "' . $entityType . '"!', 1402989326);
}
$this->entityType = $entityType;
}