digipolisgent/robo-digipolis-laravel

View on GitHub
src/EventHandler/FileBackupConfigHandler.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace DigipolisGent\Robo\Laravel\EventHandler;

use DigipolisGent\Robo\Helpers\EventHandler\AbstractTaskEventHandler;
use Symfony\Component\EventDispatcher\GenericEvent;

class FileBackupConfigHandler extends AbstractTaskEventHandler
{

    /**
     * {@inheritDoc}
     */
    public function handle(GenericEvent $event)
    {
        return [
            'file_backup_subdirs' => ['storage'],
            'exclude_from_backup' => ['storage/logs/*'],
        ];
    }
}