mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 19:00:49 +00:00
faf7fee8e4
c4dd05e2e3
[CodeQuality] Add StaticToSelfStaticMethodCallOnFinalClassRector (#5621)
20 lines
516 B
PHP
20 lines
516 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Doctrine\CodeQuality\Contract;
|
|
|
|
use PhpParser\Node\Param;
|
|
use PhpParser\Node\Stmt\Property;
|
|
use Rector\Doctrine\CodeQuality\ValueObject\EntityMapping;
|
|
interface PropertyAttributeTransformerInterface
|
|
{
|
|
/**
|
|
* @return MappingClass::*
|
|
*/
|
|
public function getClassName() : string;
|
|
/**
|
|
* @param \PhpParser\Node\Stmt\Property|\PhpParser\Node\Param $property
|
|
*/
|
|
public function transform(EntityMapping $entityMapping, $property) : void;
|
|
}
|