for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace ApiSkeletons\Doctrine\GraphQL\Event;
use Doctrine\Common\Collections\Criteria;
use GraphQL\Type\Definition\ResolveInfo;
use League\Event\HasEventName;
class FilterCriteria implements
HasEventName
{
/** @param mixed[] $args */
public function __construct(
protected Criteria $criteria,
protected string $eventName,
protected mixed $objectValue,
protected array $args,
protected mixed $context,
protected ResolveInfo $info,
) {
}
public function eventName(): string
return $this->eventName;
public function getCriteria(): Criteria
return $this->criteria;
public function getObjectValue(): mixed
return $this->objectValue;
/** @return mixed[] */
public function getArgs(): array
return $this->args;
public function getContext(): mixed
return $this->context;
public function getInfo(): ResolveInfo
return $this->info;