public function putData($data) { $storage = TigerApp::getStorage(); $this->filesize = strlen($data); $success = $storage->put($this->filename, $data); $this->save(); return $success; }
public function testGetStorage() { $storage = TigerApp::getStorage(); $this->assertEquals('League\\Flysystem\\Filesystem', get_class($storage)); }