Astrotomic/laravel-backuplay

View on GitHub
src/Backuplay/Contracts/ConfigContract.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Astrotomic\Backuplay\Contracts;

interface ConfigContract
{
    /**
     * @return array
     */
    public function getFolders();

    /**
     * @return array
     */
    public function getFiles();

    /**
     * @param bool|null $strict
     * @return bool
     */
    public function isStrict($strict = null);

    /**
     * @return string
     * @throws \Astrotomic\Backuplay\Exceptions\EntityIsNoDirectoryException
     */
    public function getTempDir();

    /**
     * @param string $key
     * @return array
     */
    public function getScripts($key);
}