GcFrontend\Controller\IndexController::isSerialized PHP Method

isSerialized() protected method

Defined is can unserialize string
protected isSerialized ( string $string ) : boolean
$string string String
return boolean
    protected function isSerialized($string)
    {
        if (trim($string) == '') {
            return false;
        }
        if (preg_match('/^(i|s|a|o|d|N)(.*);/si', $string)) {
            return true;
        }
        return false;
    }