Raml\ApiDefinition::getTitle PHP Метод

getTitle() публичный Метод

Get the title of the API
public getTitle ( ) : string
Результат string
    public function getTitle()
    {
        return $this->title;
    }

Usage Example

Пример #1
0
 /**
  * @param string $output file to generate
  */
 public function generate($output)
 {
     $html = $this->twig->render('index.html.twig', array('title' => $this->specification->getTitle(), 'base_url' => $this->specification->getBaseUrl(), 'security' => $this->specification->getSecuritySchemes(), 'resources' => $this->specification->getResources(), 'documentation' => $this->specification->getDocumentationList(), 'base_dir_raml' => $this->base_dir_raml, 'version' => $this->specification->getVersion()));
     file_put_contents($output, $html);
 }
All Usage Examples Of Raml\ApiDefinition::getTitle