public function partial(string $partial, array $variables = []): string
    {
        return $this->renderTemplate($this->getFullPath($partial), $variables);
    }
public function partial(string $partial, array $variables = []): string
    {
        return $this->renderTemplate($this->getFullPath($partial), $variables);
    }
public function partial ( string $ partial , array $ variables = [ ] ) : string { return $ this -> renderTemplate ( $ this -> getFullPath ( $ partial ) , $ variables ) ; }
Output a partial.

@param string $partial   The partial
@param array  $variables [optional]

@throws InvalidConfigPath

@return string
Output a partial .