| Current Path : /var/www/www.indacotrentino.com/www/vendor/rector/rector/src/Logging/ |
| Current File : /var/www/www.indacotrentino.com/www/vendor/rector/rector/src/Logging/CurrentRectorProvider.php |
<?php
declare (strict_types=1);
namespace Rector\Core\Logging;
use Rector\Core\Contract\Rector\RectorInterface;
final class CurrentRectorProvider
{
/**
* @var \Rector\Core\Contract\Rector\RectorInterface|null
*/
private $currentRector;
public function changeCurrentRector(RectorInterface $rector) : void
{
$this->currentRector = $rector;
}
public function getCurrentRector() : ?RectorInterface
{
return $this->currentRector;
}
}