mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-14 04:44:57 +01:00
15 lines
290 B
PHP
15 lines
290 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\NodeNameResolver\Contract;
|
|
|
|
use PhpParser\Node;
|
|
interface NodeNameResolverInterface
|
|
{
|
|
/**
|
|
* @return class-string<Node>
|
|
*/
|
|
public function getNode() : string;
|
|
public function resolve(\PhpParser\Node $node) : ?string;
|
|
}
|