public function __construct(ManagerRegistry $managerRegistry, Reader $reader) { $this->managerRegistry = $managerRegistry; parent::__construct($reader); }