PHP Class Adamgoose\Routing\Annotations\ResourcePath

Inheritance: extends AbstractPath
Mostrar archivo Open project: adamgoose/laravel-annotations

Public Properties

Property Type Description
$method The controller method of the resource path.

Public Methods

Method Description
__construct ( string $method ) : void Create a new Resource Path instance.

Protected Methods

Method Description
getVerb ( string $method ) : string Get the verb for the given resource method.

Method Details

__construct() public method

Create a new Resource Path instance.
public __construct ( string $method ) : void
$method string
return void

getVerb() protected method

Get the verb for the given resource method.
protected getVerb ( string $method ) : string
$method string
return string

Property Details

$method public_oe property

The controller method of the resource path.
public $method