diff --git a/src/flextype/app/Foundation/Cache/AcpuCacheAdapter.php b/src/flextype/app/Foundation/Cache/AcpuCacheAdapter.php index 5badae9a..c34683c8 100644 --- a/src/flextype/app/Foundation/Cache/AcpuCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/AcpuCacheAdapter.php @@ -8,6 +8,11 @@ use Doctrine\Common\Cache\AcpuCache; class AcpuCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ public function __construct() { diff --git a/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php b/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php index 7e9691c5..1e34adc3 100644 --- a/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php @@ -8,6 +8,16 @@ use Doctrine\Common\Cache\ArrayCache; class ArrayCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { return new ArrayCache(); diff --git a/src/flextype/app/Foundation/Cache/CacheAdapterInterface.php b/src/flextype/app/Foundation/Cache/CacheAdapterInterface.php index 999cb2a7..3087e681 100644 --- a/src/flextype/app/Foundation/Cache/CacheAdapterInterface.php +++ b/src/flextype/app/Foundation/Cache/CacheAdapterInterface.php @@ -7,9 +7,9 @@ namespace Flextype\App\Foundation\Cache; interface CacheAdapterInterface { /** - * Injects the dependency container + * Constructor * - * @return void + * @access public */ public function __construct(); diff --git a/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php b/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php index cc2a8e21..4df8dc77 100644 --- a/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php @@ -9,6 +9,16 @@ use Flextype\Component\Filesystem\Filesystem; class FilesystemCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { $cache_directory = PATH['cache'] . '/doctrine/'; diff --git a/src/flextype/app/Foundation/Cache/MemcachedCacheAdapter.php b/src/flextype/app/Foundation/Cache/MemcachedCacheAdapter.php index 69b4b86c..4c4b569c 100644 --- a/src/flextype/app/Foundation/Cache/MemcachedCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/MemcachedCacheAdapter.php @@ -9,6 +9,16 @@ use Memecached; class MemcachedCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { $memcached = new Memecached(); diff --git a/src/flextype/app/Foundation/Cache/PhpArrayFileCacheAdapter.php b/src/flextype/app/Foundation/Cache/PhpArrayFileCacheAdapter.php index ebb3c096..4b1b830f 100644 --- a/src/flextype/app/Foundation/Cache/PhpArrayFileCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/PhpArrayFileCacheAdapter.php @@ -8,6 +8,16 @@ use Flextype\Component\Filesystem\Filesystem; class PhpArrayFileCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { $cache_directory = PATH['cache'] . '/doctrine/'; diff --git a/src/flextype/app/Foundation/Cache/PhpFileCacheAdapter.php b/src/flextype/app/Foundation/Cache/PhpFileCacheAdapter.php index 7791bd56..661d52f1 100644 --- a/src/flextype/app/Foundation/Cache/PhpFileCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/PhpFileCacheAdapter.php @@ -9,6 +9,16 @@ use Flextype\Component\Filesystem\Filesystem; class PhpFileCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { $cache_directory = PATH['cache'] . '/doctrine/'; diff --git a/src/flextype/app/Foundation/Cache/RedisCacheAdapter.php b/src/flextype/app/Foundation/Cache/RedisCacheAdapter.php index 7fa95e7a..951c8b84 100644 --- a/src/flextype/app/Foundation/Cache/RedisCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/RedisCacheAdapter.php @@ -10,6 +10,16 @@ use RedisException; class RedisCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { $redis = new Redis(); diff --git a/src/flextype/app/Foundation/Cache/SQLite3CacheAdapter.php b/src/flextype/app/Foundation/Cache/SQLite3CacheAdapter.php index aed8a73b..cd8655bc 100644 --- a/src/flextype/app/Foundation/Cache/SQLite3CacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/SQLite3CacheAdapter.php @@ -10,6 +10,16 @@ use SQLite3; class SQLite3CacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { $cache_directory = PATH['cache'] . '/doctrine/'; diff --git a/src/flextype/app/Foundation/Cache/WinCacheCacheAdapter.php b/src/flextype/app/Foundation/Cache/WinCacheCacheAdapter.php index b274a92e..03e594b8 100644 --- a/src/flextype/app/Foundation/Cache/WinCacheCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/WinCacheCacheAdapter.php @@ -8,6 +8,16 @@ use Doctrine\Common\Cache\WinCacheCache; class WinCacheCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { return new WinCacheCache(); diff --git a/src/flextype/app/Foundation/Cache/ZendDataCacheCacheAdapter.php b/src/flextype/app/Foundation/Cache/ZendDataCacheCacheAdapter.php index b650ec06..6ce94713 100644 --- a/src/flextype/app/Foundation/Cache/ZendDataCacheCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/ZendDataCacheCacheAdapter.php @@ -8,6 +8,16 @@ use Doctrine\Common\Cache\ZendDataCache; class ZendDataCacheCacheAdapter implements CacheAdapterInterface { + /** + * Constructor + * + * @access public + */ + public function __construct() + { + + } + public function getDriver() : object { return new ZendDataCache();