PHP Class Asvae\ApiTester\Entities\RouteInfo

Inheritance: implements Illuminate\Contracts\Support\Arrayable, implements JsonSerializabl\JsonSerializable
Datei anzeigen Open project: asvae/laravel-api-tester

Protected Properties

Property Type Description
$actionReflection ReflectionClass | null
$addMeta boolean
$errors array
$options array
$routeReflection ReflectionFunctionAbstract | null

Public Methods

Method Description
__construct ( $route, $options = [] )
jsonSerialize ( ) : array
toArray ( ) : array

Protected Methods

Method Description
extractAnnotation ( ) : string
extractFormRequest ( )
extractWheres ( )
getActionReflection ( ) : ReflectionFunctionAbstract | null
getMeta ( ) : array
getRouteReflection ( )
preparePath ( )
setError ( $type, $text, $params = [] )

Method Details

__construct() public method

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

extractAnnotation() protected method

protected extractAnnotation ( ) : string
return string

extractFormRequest() protected method

protected extractFormRequest ( )

extractWheres() protected method

protected extractWheres ( )

getActionReflection() protected method

protected getActionReflection ( ) : ReflectionFunctionAbstract | null
return ReflectionFunctionAbstract | null

getMeta() protected method

protected getMeta ( ) : array
return array

getRouteReflection() protected method

protected getRouteReflection ( )

jsonSerialize() public method

public jsonSerialize ( ) : array
return array

preparePath() protected method

protected preparePath ( )

setError() protected method

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

toArray() public method

public toArray ( ) : array
return array

Property Details

$actionReflection protected_oe property

protected ReflectionClass|null $actionReflection
return ReflectionClass | null

$addMeta protected_oe property

protected bool $addMeta
return boolean

$errors protected_oe property

protected array $errors
return array

$options protected_oe property

protected array $options
return array

$routeReflection protected_oe property

protected ReflectionFunctionAbstract|null $routeReflection
return ReflectionFunctionAbstract | null