%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/code/vendor/rector/rector/rules/Transform/ValueObject/
Upload File :
Create Path :
Current File : /home/vacivi36/code/vendor/rector/rector/rules/Transform/ValueObject/PropertyAndClassMethodName.php

<?php

declare (strict_types=1);
namespace Rector\Transform\ValueObject;

use Rector\Core\Validation\RectorAssert;
final class PropertyAndClassMethodName
{
    /**
     * @readonly
     * @var string
     */
    private $propertyName;
    /**
     * @readonly
     * @var string
     */
    private $classMethodName;
    public function __construct(string $propertyName, string $classMethodName)
    {
        $this->propertyName = $propertyName;
        $this->classMethodName = $classMethodName;
        RectorAssert::propertyName($propertyName);
        RectorAssert::methodName($classMethodName);
    }
    public function getPropertyName() : string
    {
        return $this->propertyName;
    }
    public function getClassMethodName() : string
    {
        return $this->classMethodName;
    }
}

Zerion Mini Shell 1.0