public function __construct(array $voters) { array_walk($voters, function (QueueVoterInterface $voter) { $this->voters[] = $voter; }); }