diff --git a/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php b/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php index 5c00b9d1..7e9691c5 100644 --- a/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/ArrayCacheAdapter.php @@ -8,18 +8,6 @@ use Doctrine\Common\Cache\ArrayCache; class ArrayCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - public function __construct() - { - - } - public function getDriver() : object { return new ArrayCache(); diff --git a/src/flextype/app/Foundation/Cache/Cache.php b/src/flextype/app/Foundation/Cache/Cache.php index 231e9397..75610736 100755 --- a/src/flextype/app/Foundation/Cache/Cache.php +++ b/src/flextype/app/Foundation/Cache/Cache.php @@ -19,11 +19,6 @@ use function time; class Cache { - /** - * Flextype Application - */ - - /** * Unique cache key * @@ -59,7 +54,7 @@ class Cache */ public function __construct() { - + // Create Cache Directory ! Filesystem::has(PATH['cache']) and Filesystem::createDir(PATH['cache']); diff --git a/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php b/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php index aba86a32..cc2a8e21 100644 --- a/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/FilesystemCacheAdapter.php @@ -9,18 +9,6 @@ use Flextype\Component\Filesystem\Filesystem; class FilesystemCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - 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 695c5f64..69b4b86c 100644 --- a/src/flextype/app/Foundation/Cache/MemcachedCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/MemcachedCacheAdapter.php @@ -9,18 +9,6 @@ use Memecached; class MemcachedCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - 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 38ab6b68..ebb3c096 100644 --- a/src/flextype/app/Foundation/Cache/PhpArrayFileCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/PhpArrayFileCacheAdapter.php @@ -8,18 +8,6 @@ use Flextype\Component\Filesystem\Filesystem; class PhpArrayFileCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - 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 f4fcf109..7791bd56 100644 --- a/src/flextype/app/Foundation/Cache/PhpFileCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/PhpFileCacheAdapter.php @@ -9,18 +9,6 @@ use Flextype\Component\Filesystem\Filesystem; class PhpFileCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - 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 0734a387..7fa95e7a 100644 --- a/src/flextype/app/Foundation/Cache/RedisCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/RedisCacheAdapter.php @@ -10,18 +10,6 @@ use RedisException; class RedisCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - 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 d83ac9c3..aed8a73b 100644 --- a/src/flextype/app/Foundation/Cache/SQLite3CacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/SQLite3CacheAdapter.php @@ -10,18 +10,6 @@ use SQLite3; class SQLite3CacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - 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 51cf6892..b274a92e 100644 --- a/src/flextype/app/Foundation/Cache/WinCacheCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/WinCacheCacheAdapter.php @@ -8,18 +8,6 @@ use Doctrine\Common\Cache\WinCacheCache; class WinCacheCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - 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 25cfabcf..b650ec06 100644 --- a/src/flextype/app/Foundation/Cache/ZendDataCacheCacheAdapter.php +++ b/src/flextype/app/Foundation/Cache/ZendDataCacheCacheAdapter.php @@ -8,18 +8,6 @@ use Doctrine\Common\Cache\ZendDataCache; class ZendDataCacheCacheAdapter implements CacheAdapterInterface { - /** - * Flextype Application - * - * @access private - */ - - - public function __construct() - { - - } - public function getDriver() : object { return new ZendDataCache(); diff --git a/src/flextype/app/Foundation/Entries/Entries.php b/src/flextype/app/Foundation/Entries/Entries.php index 044b25fc..71d44d6e 100755 --- a/src/flextype/app/Foundation/Entries/Entries.php +++ b/src/flextype/app/Foundation/Entries/Entries.php @@ -70,21 +70,6 @@ class Entries */ public $entries_id = null; - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Fetch entry(entries) * diff --git a/src/flextype/app/Foundation/Media/MediaFiles.php b/src/flextype/app/Foundation/Media/MediaFiles.php index 16ba79bc..42df21f7 100644 --- a/src/flextype/app/Foundation/Media/MediaFiles.php +++ b/src/flextype/app/Foundation/Media/MediaFiles.php @@ -43,21 +43,6 @@ use const UPLOAD_ERR_OK; class MediaFiles { - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Upload media file * diff --git a/src/flextype/app/Foundation/Media/MediaFilesMeta.php b/src/flextype/app/Foundation/Media/MediaFilesMeta.php index a8ebea45..d526a3f7 100644 --- a/src/flextype/app/Foundation/Media/MediaFilesMeta.php +++ b/src/flextype/app/Foundation/Media/MediaFilesMeta.php @@ -14,21 +14,6 @@ use Flextype\Component\Filesystem\Filesystem; class MediaFilesMeta { - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Update file meta information * diff --git a/src/flextype/app/Foundation/Media/MediaFolders.php b/src/flextype/app/Foundation/Media/MediaFolders.php index 1a23583f..63a84d9a 100644 --- a/src/flextype/app/Foundation/Media/MediaFolders.php +++ b/src/flextype/app/Foundation/Media/MediaFolders.php @@ -17,21 +17,6 @@ use function str_replace; class MediaFolders { - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Fetch folders(s) * diff --git a/src/flextype/app/Foundation/Media/MediaFoldersMeta.php b/src/flextype/app/Foundation/Media/MediaFoldersMeta.php index 2e9d8ae7..46031243 100644 --- a/src/flextype/app/Foundation/Media/MediaFoldersMeta.php +++ b/src/flextype/app/Foundation/Media/MediaFoldersMeta.php @@ -11,21 +11,6 @@ namespace Flextype\App\Foundation\Media; class MediaFoldersMeta { - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Get files directory meta location * diff --git a/src/flextype/app/Foundation/Plugins.php b/src/flextype/app/Foundation/Plugins.php index 5cde3ba2..106574fe 100755 --- a/src/flextype/app/Foundation/Plugins.php +++ b/src/flextype/app/Foundation/Plugins.php @@ -24,11 +24,6 @@ use function trim; class Plugins { - /** - * Flextype Application - */ - - /** * Locales array * @@ -43,8 +38,7 @@ class Plugins */ public function __construct() { - - $this->locales = flextype('yaml')->decode(Filesystem::read(ROOT_DIR . '/src/flextype/locales.yaml')); + $this->locales = flextype('yaml')->decode(Filesystem::read(ROOT_DIR . '/src/flextype/locales.yaml')); } /** diff --git a/src/flextype/app/Support/Parsers/Markdown.php b/src/flextype/app/Support/Parsers/Markdown.php index eb63ee8a..05b4581c 100644 --- a/src/flextype/app/Support/Parsers/Markdown.php +++ b/src/flextype/app/Support/Parsers/Markdown.php @@ -13,11 +13,6 @@ use function md5; class Markdown { - /** - * Flextype Application - */ - - /** * Markdown */ @@ -30,7 +25,6 @@ class Markdown */ public function __construct($markdown) { - $this->markdown = $markdown; } diff --git a/src/flextype/app/Support/Serializers/Frontmatter.php b/src/flextype/app/Support/Serializers/Frontmatter.php index 941e410a..68031e0a 100644 --- a/src/flextype/app/Support/Serializers/Frontmatter.php +++ b/src/flextype/app/Support/Serializers/Frontmatter.php @@ -22,21 +22,6 @@ use const PHP_EOL; class Frontmatter { - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Returns the FRONTMATTER representation of a value * diff --git a/src/flextype/app/Support/Serializers/Json.php b/src/flextype/app/Support/Serializers/Json.php index 8b056195..1374be17 100644 --- a/src/flextype/app/Support/Serializers/Json.php +++ b/src/flextype/app/Support/Serializers/Json.php @@ -27,21 +27,6 @@ class Json public const PRETTY = 0b0010; public const ESCAPE_UNICODE = 0b0100; - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Returns the JSON representation of a value * diff --git a/src/flextype/app/Support/Serializers/Yaml.php b/src/flextype/app/Support/Serializers/Yaml.php index 7013852d..38123f98 100644 --- a/src/flextype/app/Support/Serializers/Yaml.php +++ b/src/flextype/app/Support/Serializers/Yaml.php @@ -33,21 +33,6 @@ class Yaml public const PARSE_CUSTOM_TAGS = 512; public const DUMP_EMPTY_ARRAY_AS_SEQUENCE = 1024; - /** - * Flextype Application - */ - - - /** - * Constructor - * - * @access public - */ - public function __construct() - { - - } - /** * Native *