/** * @param ISearchControlFactory $factory * @return SearchControl */ protected function createComponentSearch(ISearchControlFactory $factory) { $control = parent::createComponentSearch($factory); if ($this->search) { $control->setSearch($this->search); } return $control; }
/** * @param CharacterFinder $characterFinder */ public function __construct(CharacterFinder $characterFinder) { parent::__construct(); $this->characterFinder = $characterFinder; }
/** * @param EpisodesFinder $episodesFinder */ public function __construct(EpisodesFinder $episodesFinder) { parent::__construct(); $this->episodesFinder = $episodesFinder; }
/** * @param SeasonFinder $seasonFinder */ public function __construct(SeasonFinder $seasonFinder, LanguageFinder $languageFinder) { parent::__construct(); $this->seasonFinder = $seasonFinder; $this->languageFinder = $languageFinder; }
/** * @param SeasonFinder $seasonFinder */ public function __construct(SeasonFinder $seasonFinder) { parent::__construct(); $this->seasonFinder = $seasonFinder; }
/** * @param ILogger $logger */ public function __construct(ILogger $logger) { parent::__construct(); $this->logger = $logger; }