// Serialize the conditions for checking if we can take the cache
$serialized = serialize(array($isEmployed, $isMarried, $hasGender));
// Serialize the conditions for checking if we can take the cache
$serialized = serialize(array($isEmployed, $isMarried, $hasGender));