File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/rules/Transform/ValueObject/PropertyAndClassMethodName.php
Back
<?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; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings