public function __construct()
 {
     $this->fixture = FileObjectsFactory::getInstance();
 }
Exemple #2
0
 public static function getFile($path, $params = null)
 {
     self::$Logger = Logger::getLogger('Kernel.FSI');
     self::$Logger->debug("getFile called with path: \"" . $path . "\" and params: " . $params);
     return FileObjectsFactory::getInstance()->getFile($path, $params);
 }
 public static function getInstance()
 {
     if (self::$Instance === null) {
         $class = __CLASS__;
         self::$Instance = new $class();
     }
     return self::$Instance;
 }