public function autoLayout($autoLayout = null)
    {
        deprecationWarning(
            'View::autoLayout() is deprecated. ' .
            'Use isAutoLayoutEnabled()/enableAutoLayout() instead.'
        );

        if ($autoLayout === null) {
            return $this->autoLayout;
        }

        $this->autoLayout = $autoLayout;
    }