mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
24 lines
394 B
PHP
24 lines
394 B
PHP
<?php
|
|
/**
|
|
* PhpStorm.
|
|
* User: Jay
|
|
* Date: 2020/10/20
|
|
*/
|
|
|
|
namespace App\Document;
|
|
|
|
|
|
use PHPZlc\Document\Document;
|
|
|
|
class DomeDocument extends Document
|
|
{
|
|
public function domeAction()
|
|
{
|
|
$this->add()
|
|
->setTitle('演示接口')
|
|
->setUrl('/dome')
|
|
->setReturnType('html')
|
|
->setReturn('演示接口')
|
|
->generate();
|
|
}
|
|
} |