src/Service/Config/From/Cookie.php
public function getConfigFromCookies($group, $name)
    {
        // Do we have a value in the cookies?
        if (isset($this->settings[$name]) === true &&
            $this->security->evaluateSetting($group, $name, $this->settings[$name]) === true
        ) {
            // We escape them, just in case.
            return htmlspecialchars($this->settings[$name]);
        }

        // Still here?
        return null;
    }
public function getConfigFromCookies($group, $name)
    {
        // Do we have a value in the cookies?
        if (isset($this->settings[$name]) === true &&
            $this->security->evaluateSetting($group, $name, $this->settings[$name]) === true
        ) {
            // We escape them, just in case.
            return htmlspecialchars($this->settings[$name]);
        }

        // Still here?
        return null;
    }
public function getConfigFromCookies ( $ group , $ name ) { // Do we have a value in the cookies? if ( isset ( $ this -> settings [ $ name ] ) === true && $ this -> security -> evaluateSetting ( $ group , $ name , $ this -> settings [ $ name ] ) === true ) { // We escape them, just in case. return htmlspecialchars ( $ this -> settings [ $ name ] ) ; } // Still here? return null ; }
Returns settings from the local cookies.

@param string $group
The name of the group inside the cookie.
@param string $name
The name of the value.

@return string|null
The value.
Returns settings from the local cookies .