/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Backup
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Backup/BackupCollection.php (1532B)
* @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;
final class BackupCollection implements BackupCollectionInterface
{
/**
* @var BackupInterface[]
*/
private $backups = [];
/**
* {@inheritdoc}
*/
public function add(BackupInterface $backup)
{
$this->backups[] = $backup;
return $this;
}
/**
* {@inheritdoc}
*/
public function all()
{
return $this->backups;
}
}