File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/vendor/rector/rector-cakephp/src/ValueObject/FactoryMethod.php
Back
<?php declare (strict_types=1); namespace Rector\CakePHP\ValueObject; use PHPStan\Type\ObjectType; final class FactoryMethod { /** * @readonly * @var string */ private $type; /** * @readonly * @var string */ private $method; /** * @readonly * @var string */ private $newClass; /** * @readonly * @var int */ private $position; public function __construct(string $type, string $method, string $newClass, int $position) { $this->type = $type; $this->method = $method; $this->newClass = $newClass; $this->position = $position; } public function getObjectType() : ObjectType { return new ObjectType($this->type); } public function getMethod() : string { return $this->method; } public function getPosition() : int { return $this->position; } public function getNewClass() : string { return $this->newClass; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings