/**
  * @param ISearchBoxControlFactory $factory
  * @return Multiplier
  */
 protected function createComponentSearchBox(ISearchBoxControlFactory $factory)
 {
     return $factory->create();
 }
 /**
  * @param ISearchBoxControlFactory $factory
  * @return Multiplier
  */
 protected function createComponentSearchBox(ISearchBoxControlFactory $factory)
 {
     return new Multiplier(function ($id) use($factory) {
         return $factory->create($id);
     });
 }