PHP 클래스 Mpociot\ApiDoc\Parsers\RuleDescriptionParser

파일 보기 프로젝트 열기: mpociot/laravel-apidoc-generator 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( null $rule = null )
getDescription ( ) : array | string
parse ( null $rule = null ) : static
with ( string | array $parameters )

보호된 메소드들

메소드 설명
makeDescription ( ) : string
replaceAttributes ( $description ) : string
ruleDescriptionExist ( ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( null $rule = null )
$rule null

getDescription() 공개 메소드

public getDescription ( ) : array | string
리턴 array | string

makeDescription() 보호된 메소드

protected makeDescription ( ) : string
리턴 string

parse() 공개 정적인 메소드

public static parse ( null $rule = null ) : static
$rule null
리턴 static

replaceAttributes() 보호된 메소드

protected replaceAttributes ( $description ) : string
리턴 string

ruleDescriptionExist() 보호된 메소드

protected ruleDescriptionExist ( ) : boolean
리턴 boolean

with() 공개 메소드

public with ( string | array $parameters )
$parameters string | array