Churakovmike/laravel-db-doc-generator

View on GitHub
src/Interfaces/FileAccesorsInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace ChurakovMike\DbDocumentor\Interfaces;

/**
 * Interface FileAccess.
 */
interface FileAccesorsInterface
{
    /**
     * @param $filename
     * @param $content
     * @return mixed
     */
    public function saveAsFile($filename, $content);

    /**
     * @param string|null $outputPath
     * @return mixed
     */
    public function setOutputDirectory(string $outputPath = null);

    /**
     * @return mixed
     */
    public function createDefaultDirectory();
}