. */ namespace SP\Storage\File; /** * Interface StorageInterface * * @package SP\Storage */ interface XmlFileStorageInterface { /** * @param string $node * * @return XmlFileStorageInterface * @throws FileException */ public function load($node = ''); /** * @param mixed $data Data to be saved * @param string $node * * @return XmlFileStorageInterface * @throws FileException */ public function save($data, $node = ''); /** * @return mixed */ public function getItems(); /** * Returns the given path node value * * @param $path * * @return string * @throws FileException */ public function getPathValue($path); /** * @return FileHandler */ public function getFileHandler(): FileHandler; }