示例#1
0
 /**
  * @param SearchProviderInterface $provider
  *
  * @return void
  */
 public function addProvider(SearchProviderInterface $provider)
 {
     $this->providers[$provider->getName()] = $provider;
 }
示例#2
0
 /**
  * @return string
  */
 public function getTitle()
 {
     return $this->provider->getTitle();
 }