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

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

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

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

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

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