芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/nunomaduro/larastan/src/Methods/Macro.php
ValidationException::class, 'validateWithBag' => ValidationException::class, ]; public function __construct(private ClassReflection $classReflection, private string $methodName, private ClosureType $closureType) { } public function getDeclaringClass(): ClassReflection { return $this->classReflection; } public function isPrivate(): bool { return false; } public function isPublic(): bool { return true; } public function isFinal(): TrinaryLogic { return TrinaryLogic::createNo(); } public function isInternal(): TrinaryLogic { return TrinaryLogic::createNo(); } public function isStatic(): bool { return $this->isStatic; } /** * Set the is static value. * * @param bool $isStatic * @return void */ public function setIsStatic(bool $isStatic): void { $this->isStatic = $isStatic; } /** * {@inheritdoc} */ public function getDocComment(): ?string { return null; } /** * {@inheritdoc} */ public function getName(): string { return $this->methodName; } public function isDeprecated(): TrinaryLogic { return TrinaryLogic::createNo(); } public function getPrototype(): ClassMemberReflection { return $this; } /** * @inheritDoc */ public function getVariants(): array { return [ new FunctionVariant(TemplateTypeMap::createEmpty(), null, $this->closureType->getParameters(), $this->closureType->isVariadic(), $this->closureType->getReturnType()), ]; } public function getDeprecatedDescription(): ?string { return null; } public function getThrowType(): ?Type { if (array_key_exists($this->methodName, $this->methodThrowTypeMap)) { return new ObjectType($this->methodThrowTypeMap[$this->methodName]); } return null; } public function hasSideEffects(): TrinaryLogic { return TrinaryLogic::createMaybe(); } }