public static function create() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }
public static function create() { if (strtolower(PHP_SAPI) === "cli") { return Sabel_Cookie_InMemory::create(); } else { return Sabel_Cookie_Http::create(); } }
public static function create() { if (is_cli()) { return Sabel_Cookie_InMemory::create(); } else { return Sabel_Cookie_Http::create(); } }