PHP 8.2.31
Preview: CurrentFileProvider.php Size: 504 B
//opt/cpanel/ea-wappspector/vendor/rector/rector/src/Application/Provider/CurrentFileProvider.php

<?php

declare (strict_types=1);
namespace Rector\Application\Provider;

use Rector\ValueObject\Application\File;
/**
 * @internal Avoid this services if possible, pass File value object or file path directly
 */
final class CurrentFileProvider
{
    /**
     * @var \Rector\ValueObject\Application\File|null
     */
    private $file;
    public function setFile(File $file) : void
    {
        $this->file = $file;
    }
    public function getFile() : ?File
    {
        return $this->file;
    }
}

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
504 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).