TwistPHP Documentation

getRestrictions

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

getRestrictionsGet an array of restricted routes and the restriction overrides (these are found in the unrestricted sub array)

Return Values

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

Example

<?php
//Call the function getRestrictions with the example vars
Twist::Route() -> getRestrictions();