namespace Fluidbook\Tools\Compiler;
+use Cubist\Util\Data;
use Cubist\Util\Files\VirtualDirectory;
class DummyCompiler implements CompilerInterface {
+ /**
+ * @var Data
+ */
+ protected $_data;
+
public function addContentLock($page, $unlockConditions = '') {
// TODO: Implement addContentLock() method.
}
}
public function getSetting($key, $default = null) {
- // TODO: Implement getSetting() method.
+ return $this->_data->get($key, $default);
}
public function setSetting($key, $value) {
- // TODO: Implement setSetting() method.
+ $this->_data->set($key, $value);
}
public function getVirtualDirectory(): VirtualDirectory {
public function addJsLib($name, $files) {
// TODO: Implement addJsLib() method.
}
+
+
+ /**
+ * @param Data $data
+ */
+ public function setData(Data $data): void {
+ $this->_data = $data;
+ }
}