Adamgoose\Routing\Annotations\ResourcePath::__construct PHP Method

__construct() public method

Create a new Resource Path instance.
public __construct ( string $method ) : void
$method string
return void
    public function __construct($method)
    {
        $this->method = $method;
        $this->verb = $this->getVerb($method);
    }