TwistPHP Documentation

get

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

getGet the value of the given cookie. If the cookie does not exist the value
of $default will be returned.

Parameters

Name Type Description
$strNamestringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strName 'foo';

//Call the function get with the example vars
Twist::Cookie() -> get($strName);