TwistPHP Documentation

put

File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

putPass in a PHP function to be parsed by the route upon a PUT request

Parameters

Name Type Description
$strURIstringn/a
$resFunctionresourcen/a
[$mxdBaseView = true]mixedn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strURI 'foo';
$resFunction = (resource);
$mxdBaseView true;

//Call the function put with the example vars
Twist::Route() -> put($strURI$resFunction$mxdBaseView);