public function __construct()
 {
     $this->fixture = FileObjectsFactory::getInstance();
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public static function getInstance()
 {
     if (self::$Instance === null) {
         $class = __CLASS__;
         self::$Instance = new $class();
     }
     return self::$Instance;
 }