public function filter(Filterable $descriptor): ?Filterable
    {
        $chain = $this->factory->getChainFor(get_class($descriptor));

        return $chain->filter($descriptor);
    }
public function filter(Filterable $descriptor): ?Filterable
    {
        $chain = $this->factory->getChainFor(get_class($descriptor));

        return $chain->filter($descriptor);
    }
public function filter ( Filterable $ descriptor ) : ? Filterable { $ chain = $ this -> factory -> getChainFor ( get_class ( $ descriptor ) ) ; return $ chain -> filter ( $ descriptor ) ; }
Filters the given Descriptor and returns the altered object.
Filters the given Descriptor and returns the altered object .