From 8d2b1a729ad2cb0391f720388de31d3a142907de Mon Sep 17 00:00:00 2001 From: Vitaly Egorov Date: Sun, 11 Jan 2015 09:36:27 +0200 Subject: [PATCH] Changed to core IConfigurable --- src/FileService.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/FileService.php b/src/FileService.php index d242b9a..0166dc6 100644 --- a/src/FileService.php +++ b/src/FileService.php @@ -9,13 +9,12 @@ use samson\core\CompressableService; use samson\core\Event; -use samsonos\config\Entity; /** * File system module controller * @package samson\fs */ -class FileService extends CompressableService implements IFileSystem, \samsonos\config\IConfigurable +class FileService extends CompressableService implements IFileSystem, \samsonos\core\IConfigurable { /** @var string Module identifier */ protected $id = 'fs'; @@ -65,10 +64,10 @@ public function init(array $params = array()) //[PHPCOMPRESSOR(remove,start)] /** - * @param Entity $entityConfiguration current instance for configuration + * @param mixed $entityConfiguration current instance for configuration * @return boolean False if something went wrong otherwise true */ - public function configure(Entity $entityConfiguration) + public function configure($entityConfiguration) { // Convert object to array $this->configuration = (array)$entityConfiguration;