Add constant with type for segment of type UserRole
[MAILPOET-3469]
This commit is contained in:
@@ -9,6 +9,8 @@ use MailPoetVendor\Doctrine\DBAL\Query\QueryBuilder;
|
|||||||
use MailPoetVendor\Doctrine\ORM\EntityManager;
|
use MailPoetVendor\Doctrine\ORM\EntityManager;
|
||||||
|
|
||||||
class UserRole implements Filter {
|
class UserRole implements Filter {
|
||||||
|
const TYPE = 'wordpressRole';
|
||||||
|
|
||||||
/** @var EntityManager */
|
/** @var EntityManager */
|
||||||
private $entityManager;
|
private $entityManager;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user