fromMethodReflection(Nette\Utils\Callback::toReflection($method)); } public function __toString(): string { return (new Printer)->printMethod($this); } public function setStatic(bool $state = true): static { $this->static = $state; return $this; } public function isStatic(): bool { return $this->static; } public function setFinal(bool $state = true): static { $this->final = $state; return $this; } public function isFinal(): bool { return $this->final; } public function setAbstract(bool $state = true): static { $this->abstract = $state; return $this; } public function isAbstract(): bool { return $this->abstract; } /** * @param string $name without $ */ public function addPromotedParameter(string $name, mixed $defaultValue = null): PromotedParameter { $param = new PromotedParameter($name); if (func_num_args() > 1) { $param->setDefaultValue($defaultValue); } $params = $this->getParameters(); $params[$name] = $param; $this->setParameters($params); return $param; } /** * @throws Nette\InvalidStateException */ public function validate(): void { if ($this->abstract && ($this->final || $this->visibility === ClassLike::VisibilityPrivate)) { throw new Nette\InvalidStateException("Method $this->name() cannot be abstract and final or private at the same time."); } } } __halt_compiler();----SIGNATURE:----CYyanJ83nVoRKY0h704K9iO958G3gQYOarPKZ1HsxoW8CsZDAPFEOFi/KayJZQ7ENryvwdJsHibx+OECUV8vn3aphNx9Njvl74DTBx+koh+wzEmNsSLYw87+KR0PrQXYeQLE15BIPA4DAkKlZwr1hqpCPJUckpQF1Km7Pr+QQvnPBf8X9PpWfhav8w3KPoq1m8AfLiazL90buLqbtVI7ZabJg1XPqeyrmnELEmFRiTBHzoakkcYWyMw1kL7PGFnuKINDXaPp540uvdPq/GeEeLszB6ZtvRNSji1FQspdsydDxYigttZ7gHreIOlWzDY6VQUOHhTpByLZDwQNS4xGCKYOF9MUibbmCaDKjWB6iWbP8br7asWTosPWPO3o7W6V49+oAEJdxEjadDC3cBEtD0BCfSv14FIp/5ki6H680LnOV9OBF9Sv6Z02OzuQRSvRXRSwWdE7Sz5hxUJh2xFFXw44B2sLq3zuS9/BiTgGpp/lgGaxJpw8+A60UIDtyrOLAh3sRiB7w6gV8+RSqf+XII0iXHcslg2xZUMZalZxypdeprn8JguiuaaPwHF9DK3WCJtpOJ0fR7VOCYP7RJRMDX1s+At2D1lJtHm0IIiF6WRJ7yGAUygsmgy39RHjI+iH3Uuqm+CLuNOnjEiyp+k9cZW57GM51d/1ZarCYg+gsVQ=----ATTACHMENT:----OTczMjUyOTM5MDc4NTk3OCA0MDQxODgxMjg5NzA1NjUwIDU4NTg1MjQ4OTczMTAyNTQ=