Skip to content

Commit

Permalink
Changed to core IConfigurable
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyiegorov committed Jan 11, 2015
1 parent 04fedf5 commit 8d2b1a7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/FileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8d2b1a7

Please sign in to comment.