mirror of
https://0xacab.org/radar/radar-wp.git
synced 2025-06-09 05:06:26 +02:00
Initial import.
This commit is contained in:
commit
86383280c9
428 changed files with 68738 additions and 0 deletions
31
vendor/guzzle/cache/Guzzle/Cache/NullCacheAdapter.php
vendored
Normal file
31
vendor/guzzle/cache/Guzzle/Cache/NullCacheAdapter.php
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Guzzle\Cache;
|
||||
|
||||
/**
|
||||
* Null cache adapter
|
||||
*/
|
||||
class NullCacheAdapter extends AbstractCacheAdapter
|
||||
{
|
||||
public function __construct() {}
|
||||
|
||||
public function contains($id, array $options = null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function delete($id, array $options = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function fetch($id, array $options = null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function save($id, $data, $lifeTime = false, array $options = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue