public function getFilterFactory()
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            '"' .__METHOD__ . '" is deprecated as the service container will get removed.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        if (\is_callable($this->filterFactory)) {
            $this->filterFactory = \call_user_func($this->filterFactory);
            $this->filterFactory->setServiceContainer($this, false);
        }

        return $this->filterFactory;
    }
public function getFilterFactory()
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            '"' .__METHOD__ . '" is deprecated as the service container will get removed.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        if (\is_callable($this->filterFactory)) {
            $this->filterFactory = \call_user_func($this->filterFactory);
            $this->filterFactory->setServiceContainer($this, false);
        }

        return $this->filterFactory;
    }
{@inheritdoc}

@deprecated The service container will get removed, use the symfony service container instead.