PHP 클래스 Asvae\ApiTester\Entities\RouteInfo

상속: implements Illuminate\Contracts\Support\Arrayable, implements JsonSerializabl\JsonSerializable
파일 보기 프로젝트 열기: asvae/laravel-api-tester

보호된 프로퍼티들

프로퍼티 타입 설명
$actionReflection ReflectionClass | null
$addMeta boolean
$errors array
$options array
$routeReflection ReflectionFunctionAbstract | null

공개 메소드들

메소드 설명
__construct ( $route, $options = [] )
jsonSerialize ( ) : array
toArray ( ) : array

보호된 메소드들

메소드 설명
extractAnnotation ( ) : string
extractFormRequest ( )
extractWheres ( )
getActionReflection ( ) : ReflectionFunctionAbstract | null
getMeta ( ) : array
getRouteReflection ( )
preparePath ( )
setError ( $type, $text, $params = [] )

메소드 상세

__construct() 공개 메소드

public __construct ( $route, $options = [] )

extractAnnotation() 보호된 메소드

protected extractAnnotation ( ) : string
리턴 string

extractFormRequest() 보호된 메소드

protected extractFormRequest ( )

extractWheres() 보호된 메소드

protected extractWheres ( )

getActionReflection() 보호된 메소드

protected getActionReflection ( ) : ReflectionFunctionAbstract | null
리턴 ReflectionFunctionAbstract | null

getMeta() 보호된 메소드

protected getMeta ( ) : array
리턴 array

getRouteReflection() 보호된 메소드

protected getRouteReflection ( )

jsonSerialize() 공개 메소드

public jsonSerialize ( ) : array
리턴 array

preparePath() 보호된 메소드

protected preparePath ( )

setError() 보호된 메소드

protected setError ( $type, $text, $params = [] )

toArray() 공개 메소드

public toArray ( ) : array
리턴 array

프로퍼티 상세

$actionReflection 보호되어 있는 프로퍼티

protected ReflectionClass|null $actionReflection
리턴 ReflectionClass | null

$addMeta 보호되어 있는 프로퍼티

protected bool $addMeta
리턴 boolean

$errors 보호되어 있는 프로퍼티

protected array $errors
리턴 array

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array

$routeReflection 보호되어 있는 프로퍼티

protected ReflectionFunctionAbstract|null $routeReflection
리턴 ReflectionFunctionAbstract | null