public function __construct(EntityRepo $entityRepo) { $this->entityRepo = $entityRepo; parent::__construct(); }