mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-27 21:23:31 +00:00
22 lines
393 B
PHP
22 lines
393 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Provider;
|
|
|
|
use Rector\ValueObject\Application\File;
|
|
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;
|
|
}
|
|
}
|