tapestry-cloud/tapestry

View on GitHub
src/Entities/Filesystem/FilesystemInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Tapestry\Entities\Filesystem;

use Tapestry\Entities\File;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Console\Output\OutputInterface;

interface FilesystemInterface
{
    /**
     * FilesystemInterface constructor.
     *
     * @param File   $file
     * @param string $destinationPath
     */
    public function __construct(File $file, $destinationPath);

    /**
     * @return File
     */
    public function getFile();

    /**
     * @param Filesystem      $filesystem
     * @param OutputInterface $output
     *
     * @return void
     */
    public function __invoke(Filesystem $filesystem, OutputInterface $output);
}