mirror of
https://github.com/flextype/flextype.git
synced 2025-08-17 02:24:05 +02:00
refactor(core): fix code standard for Cache Drivers #347
This commit is contained in:
2
flextype/cache/AcpuAdapter.php
vendored
2
flextype/cache/AcpuAdapter.php
vendored
@@ -9,7 +9,7 @@ use Psr\Container\ContainerInterface;
|
||||
|
||||
class AcpuAdapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
2
flextype/cache/ArrayAdapter.php
vendored
2
flextype/cache/ArrayAdapter.php
vendored
@@ -9,7 +9,7 @@ use Psr\Container\ContainerInterface;
|
||||
|
||||
class ArrayAdapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
2
flextype/cache/CacheAdapterInterface.php
vendored
2
flextype/cache/CacheAdapterInterface.php
vendored
@@ -13,7 +13,7 @@ interface CacheAdapterInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function __construct(ContainerInterface $container);
|
||||
public function __construct(ContainerInterface $container);
|
||||
|
||||
/**
|
||||
* Returns the cache driver object
|
||||
|
2
flextype/cache/FilesystemAdapter.php
vendored
2
flextype/cache/FilesystemAdapter.php
vendored
@@ -10,7 +10,7 @@ use Psr\Container\ContainerInterface;
|
||||
|
||||
class FilesystemAdapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
2
flextype/cache/MemcachedAdapter.php
vendored
2
flextype/cache/MemcachedAdapter.php
vendored
@@ -10,7 +10,7 @@ use Psr\Container\ContainerInterface;
|
||||
|
||||
class MemcachedAdapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
2
flextype/cache/RedisAdapter.php
vendored
2
flextype/cache/RedisAdapter.php
vendored
@@ -11,7 +11,7 @@ use RedisException;
|
||||
|
||||
class RedisAdapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
2
flextype/cache/SQLite3Adapter.php
vendored
2
flextype/cache/SQLite3Adapter.php
vendored
@@ -11,7 +11,7 @@ use SQLite3;
|
||||
|
||||
class SQLite3Adapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
2
flextype/cache/WinCacheAdapter.php
vendored
2
flextype/cache/WinCacheAdapter.php
vendored
@@ -9,7 +9,7 @@ use Psr\Container\ContainerInterface;
|
||||
|
||||
class WinCacheAdapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
2
flextype/cache/ZendDataCacheAdapter.php
vendored
2
flextype/cache/ZendDataCacheAdapter.php
vendored
@@ -9,7 +9,7 @@ use Psr\Container\ContainerInterface;
|
||||
|
||||
class ZendDataCacheAdapter implements CacheAdapterInterface
|
||||
{
|
||||
function __construct(ContainerInterface $flextype)
|
||||
public function __construct(ContainerInterface $flextype)
|
||||
{
|
||||
$this->flextype = $flextype;
|
||||
}
|
||||
|
Reference in New Issue
Block a user