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(); } }
public function setUp() { $this->cookie = Sabel_Cookie_InMemory::create(); }