original_string: public function addFilter(CollectionInterface $collection, $typeAlias, $name, array $options = [])
      {
          $filter = $this->filterCreator->create($typeAlias, $name, $options);
          $collection->addFilter($filter);
  
          return $filter;
      }
code: public function addFilter(CollectionInterface $collection, $typeAlias, $name, array $options = [])
      {
          $filter = $this->filterCreator->create($typeAlias, $name, $options);
          $collection->addFilter($filter);
  
          return $filter;
      }
code_tokens: public function addFilter ( CollectionInterface $ collection , $ typeAlias , $ name , array $ options = [ ] ) { $ filter = $ this -> filterCreator -> create ( $ typeAlias , $ name , $ options ) ; $ collection -> addFilter ( $ filter ) ; return $ filter ; }
docstring: Adds a filter to the collection.
  
  @param CollectionInterface $collection The filter collection
  @param string              $typeAlias  The alias of the filter service definition
  @param string              $name       The internal name of the filter
  @param array               $options    (Optional) The options of the filter
  
  @see \Da2e\FiltrationBundle\Filter\Creator\FilterCreatorInterface::create() for complete documentation
  @see \Da2e\FiltrationBundle\Filter\Collection\CollectionInterface::addFilter() for complete documentation
  
  @return FilterInterface
docstring_tokens: Adds a filter to the collection .