public function plugin($name = null)
    {
        deprecationWarning('ViewBuilder::plugin() is deprecated. Use ViewBuilder::setPlugin() or ViewBuilder::getPlugin() instead.');
        if ($name !== null) {
            return $this->setPlugin($name);
        }

        return $this->getPlugin();
    }
public function plugin($name = null)
    {
        deprecationWarning('ViewBuilder::plugin() is deprecated. Use ViewBuilder::setPlugin() or ViewBuilder::getPlugin() instead.');
        if ($name !== null) {
            return $this->setPlugin($name);
        }

        return $this->getPlugin();
    }
public function plugin ( $ name = null ) { deprecationWarning ( 'ViewBuilder::plugin() is deprecated. Use ViewBuilder::setPlugin() or ViewBuilder::getPlugin() instead.' ) ; if ( $ name !== null ) { return $ this -> setPlugin ( $ name ) ; } return $ this -> getPlugin ( ) ; }
The plugin name to use

@deprecated 3.4.0 Use setPlugin()/getPlugin() instead.
@param string|null|false $name Plugin name. If null returns current plugin.
Use false to remove the current plugin name.
@return string|false|null|$this
The plugin name to use