TwistPHP Documentation


File path: dist/twist/Core/Routes/Base.route.php
Namespace: Twist\Core\Routes
Extends: Route

__constructCalled when the routes package launches a routes file. A routes file is usually a pre-defined set of route found withing an installable package.


Name Type Description

Return Values

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


//Set the variables for the example
$strPackageKey 'foo';

//Call the function __construct with the example vars
Twist::Base() -> __construct($strPackageKey);