mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-08 09:01:20 +01:00
18 lines
333 B
PHP
18 lines
333 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Naming\Contract;
|
|
|
|
use PhpParser\Node;
|
|
/**
|
|
* @template TNode as Node
|
|
*/
|
|
interface AssignVariableNameResolverInterface
|
|
{
|
|
public function match(\PhpParser\Node $node) : bool;
|
|
/**
|
|
* @param TNode $node
|
|
*/
|
|
public function resolve(\PhpParser\Node $node) : string;
|
|
}
|