* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Backup; /** * Interface BackupCollectionInterface defines contract for backup collection. */ interface BackupCollectionInterface { /** * Add backup to collection. * * @param BackupInterface $backup * * @return self */ public function add(BackupInterface $backup); /** * Get all backups. * * @return BackupInterface[] */ public function all(); }