프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$files | Illuminate\Filesystem\Filesystem | Filesytsem instance. | |
$includePath | string | Include path for documentation files. | |
$reader | Doctrine\Common\Annotations\SimpleAnnotationReader | Simple annotation reader instance. |
메소드 | 설명 | |
---|---|---|
__construct ( Doctrine\Common\Annotations\SimpleAnnotationReader $reader, Illuminate\Filesystem\Filesystem $files ) : void | Create a new generator instance. | |
generate ( |
Generate documentation with the name and version. |
메소드 | 설명 | |
---|---|---|
appendAttributes ( string &$contents, |
Append the attributes subsection to a resource or action. | |
appendBody ( string &$contents, string $body ) : void | Append a body subsection to an action. | |
appendHeaders ( string &$contents, array $headers ) : void | Append a headers subsection to an action. | |
appendParameters ( string &$contents, |
Append the parameters subsection to a resource or action. | |
appendRequest ( string &$contents, Dingo\Blueprint\Annotation\Request $request, |
Append a request subsection to an action. | |
appendResponse ( string &$contents, Dingo\Blueprint\Annotation\Response $response, |
Append a response subsection to an action. | |
appendSection ( string &$contents, string $name, integer $indent, integer $lines = 2 ) : void | Append a subsection to an action. | |
generateContentsFromResources ( |
Generate the documentation contents from the resources collection. | |
getFormat ( ) : string | Get the API Blueprint format. | |
line ( integer $repeat = 1 ) : string | Create a new line character. | |
prepareBody ( string $body, string $contentType ) : string | Prepare a body. | |
registerAnnotationLoader ( ) : void | Register the annotation loader. | |
tab ( integer $repeat = 1 ) : string | Create a tab character. |
public __construct ( Doctrine\Common\Annotations\SimpleAnnotationReader $reader, Illuminate\Filesystem\Filesystem $files ) : void | ||
$reader | Doctrine\Common\Annotations\SimpleAnnotationReader | |
$files | Illuminate\Filesystem\Filesystem | |
리턴 | void |
protected appendParameters ( string &$contents, |
||
$contents | string | |
$parameters | ||
리턴 | void |
protected appendRequest ( string &$contents, Dingo\Blueprint\Annotation\Request $request, |
||
$contents | string | |
$request | Dingo\Blueprint\Annotation\Request | |
$resource | ||
리턴 | void |
protected appendResponse ( string &$contents, Dingo\Blueprint\Annotation\Response $response, |
||
$contents | string | |
$response | Dingo\Blueprint\Annotation\Response | |
$resource | ||
리턴 | void |
protected generateContentsFromResources ( |
||
$resources | ||
$name | string | |
리턴 | string |
protected registerAnnotationLoader ( ) : void | ||
리턴 | void |
protected Filesystem,Illuminate\Filesystem $files | ||
리턴 | Illuminate\Filesystem\Filesystem |
protected string $includePath | ||
리턴 | string |