Skip to content

Commit

Permalink
Revert "Introduce CacheControllerInterface"
Browse files Browse the repository at this point in the history
This reverts commit 89940aa
  • Loading branch information
laoneo committed Oct 18, 2018
1 parent caf8259 commit e819fe8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 50 deletions.
3 changes: 2 additions & 1 deletion libraries/src/Cache/CacheController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
* Public cache handler
*
* @since 1.7.0
* @note As of 4.0 this class will be abstract
*/
abstract class CacheController implements CacheControllerInterface
class CacheController
{
/**
* Cache object
Expand Down
4 changes: 2 additions & 2 deletions libraries/src/Cache/CacheControllerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class CacheControllerFactory implements CacheControllerFactoryInterface
* @param string $type The cache object type to instantiate
* @param array $options Array of options
*
* @return CacheControllerInterface
* @return CacheController
*
* @since __DEPLOY_VERSION__
* @throws \RuntimeException
*/
public function createCacheController($type = 'output', $options = array()): CacheControllerInterface
public function createCacheController($type = 'output', $options = array()): CacheController
{
if (!$type)
{
Expand Down
4 changes: 2 additions & 2 deletions libraries/src/Cache/CacheControllerFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ interface CacheControllerFactoryInterface
* @param string $type The cache object type to instantiate
* @param array $options Array of options
*
* @return CacheControllerInterface
* @return CacheController
*
* @since __DEPLOY_VERSION__
* @throws \RuntimeException
*/
public function createCacheController($type = 'output', $options = array()): CacheControllerInterface;
public function createCacheController($type = 'output', $options = array()): CacheController;
}
45 changes: 0 additions & 45 deletions libraries/src/Cache/CacheControllerInterface.php

This file was deleted.

0 comments on commit e819fe8

Please sign in to comment.