src/MetaModel.php
public function getView($intViewId = 0)
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            'Method "' . __METHOD__ . '" is deprecated and will get removed in MetaModels 3.0. ' .
            'Use the "metamodels.render_setting_factory" service instead.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        return $this->getServiceContainer()->getRenderSettingFactory()->createCollection($this, $intViewId);
    }
public function getView($intViewId = 0)
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            'Method "' . __METHOD__ . '" is deprecated and will get removed in MetaModels 3.0. ' .
            'Use the "metamodels.render_setting_factory" service instead.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        return $this->getServiceContainer()->getRenderSettingFactory()->createCollection($this, $intViewId);
    }
{@inheritdoc}