/** * Build the 'paths' section of the metadata * * @param \DreamFactory\Enterprise\Database\Models\Instance $instance * * @return array */ protected static function buildPathMetadata(Instance $instance) { return ['storage-root' => InstanceStorage::getStorageRootPath(), 'storage-path' => $instance->getStoragePath(), 'private-path' => $instance->getPrivatePath(), 'owner-private-path' => $instance->getOwnerPrivatePath(), 'snapshot-path' => $instance->getSnapshotPath(), 'trash-path' => $instance->getTrashPath()]; }