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