public function getPlugin($name)
    {
        if (isset($this->plugins[$name])) {
            return $this->plugins[$name];
        }

        return null;
    }
public function getPlugin($name)
    {
        if (isset($this->plugins[$name])) {
            return $this->plugins[$name];
        }

        return null;
    }
public function getPlugin ( $ name ) { if ( isset ( $ this -> plugins [ $ name ] ) ) { return $ this -> plugins [ $ name ] ; } return null ; }
Returns an initialized plugin by it's name.

This function returns null if the plugin was not found.

@param string $name

@return ServerPlugin
Returns an initialized plugin by it s name .