<?php

namespace Ignite\Core\Files\Processors;

use Ignite\Core\Contracts\Files\FileProcessor;
use Ignite\Core\Files\File;

class DeleteFileProcessor implements FileProcessor
{
    /**
     * {@inheritdoc}
     */
    public function run(File $file): File
    {
        $file->delete();

        return $file;
    }
}
