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