public function __construct($label, $repository) { $this->label = $label; $this->customRepository = $repository; }