src/Cookie.php
public static function get($name, $defaultValue = null) {
		if (isset($_COOKIE[$name])) {
			return $_COOKIE[$name];
		}
		else {
			return $defaultValue;
		}
	}
public static function get($name, $defaultValue = null) {
		if (isset($_COOKIE[$name])) {
			return $_COOKIE[$name];
		}
		else {
			return $defaultValue;
		}
	}
public static function get ( $ name , $ defaultValue = null ) { if ( isset ( $ _COOKIE [ $ name ] ) ) { return $ _COOKIE [ $ name ] ; } else { return $ defaultValue ; } }
Returns the value from the requested cookie or, if not found, the specified default value

@param string $name the name of the cookie to retrieve the value from
@param mixed $defaultValue the default value to return if the requested cookie cannot be found
@return mixed the value from the requested cookie or the default value
Returns the value from the requested cookie or if not found the specified default value