init
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<?php
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
namespace MailPoetVendor\Psr\Cache;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
interface CacheException
|
||||
{
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace MailPoetVendor\Psr\Cache;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
interface CacheItemInterface
|
||||
{
|
||||
public function getKey();
|
||||
public function get();
|
||||
public function isHit();
|
||||
public function set($value);
|
||||
public function expiresAt($expiration);
|
||||
public function expiresAfter($time);
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace MailPoetVendor\Psr\Cache;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
interface CacheItemPoolInterface
|
||||
{
|
||||
public function getItem($key);
|
||||
public function getItems(array $keys = array());
|
||||
public function hasItem($key);
|
||||
public function clear();
|
||||
public function deleteItem($key);
|
||||
public function deleteItems(array $keys);
|
||||
public function save(CacheItemInterface $item);
|
||||
public function saveDeferred(CacheItemInterface $item);
|
||||
public function commit();
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
namespace MailPoetVendor\Psr\Cache;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
interface InvalidArgumentException extends CacheException
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<?php
|
||||
Reference in New Issue
Block a user