protected function getStubContent($name, $template = null)
    {
        return $this->getFileContent($this->getStubByName($name, $template ?: $this->getTemplateName()));
    }
protected function getStubContent($name, $template = null)
    {
        return $this->getFileContent($this->getStubByName($name, $template ?: $this->getTemplateName()));
    }
protected function getStubContent ( $ name , $ template = null ) { return $ this -> getFileContent ( $ this -> getStubByName ( $ name , $ template ? : $ this -> getTemplateName ( ) ) ) ; }
Gets the content of a stub

@param string $name
@param string $template

@return string
Gets the content of a stub