# Constructor

Specialized Reflection Method class to inspect a class constructor

****

- Since [5.2.0](https://github.com/getkirby/kirby/releases/tag/5.2.0)
- Full class name: `Kirby\Reflection\Constructor`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Reflection/Constructor.php#L19>

****

### Constructor

- [new Constructor()](https://getkirby.com/docs/reference/objects/reflection/constructor/__construct.md)
- [$constructor->__toString()](https://getkirby.com/docs/reference/objects/reflection/constructor/__to-string.md)
- [$constructor->classifyArguments()](https://getkirby.com/docs/reference/objects/reflection/constructor/classify-arguments.md)
- [Constructor::createFromMethodName()](https://getkirby.com/docs/reference/objects/reflection/constructor/create-from-method-name.md)
- [$constructor->getAcceptedArguments()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-accepted-arguments.md)
- [$constructor->getAttributes()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-attributes.md)
- [$constructor->getClosure()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-closure.md)
- [$constructor->getClosureCalledClass()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-closure-called-class.md)
- [$constructor->getClosureScopeClass()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-closure-scope-class.md)
- [$constructor->getClosureThis()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-closure-this.md)
- [$constructor->getClosureUsedVariables()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-closure-used-variables.md)
- [$constructor->getDeclaringClass()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-declaring-class.md)
- [$constructor->getDocComment()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-doc-comment.md)
- [$constructor->getEndLine()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-end-line.md)
- [$constructor->getExtension()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-extension.md)
- [$constructor->getExtensionName()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-extension-name.md)
- [$constructor->getFileName()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-file-name.md)
- [$constructor->getIgnoredArguments()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-ignored-arguments.md)
- [$constructor->getModifiers()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-modifiers.md)
- [$constructor->getName()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-name.md)
- [$constructor->getNamespaceName()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-namespace-name.md)
- [$constructor->getNumberOfParameters()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-number-of-parameters.md)
- [$constructor->getNumberOfRequiredParameters()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-number-of-required-parameters.md)
- [$constructor->getParameterNames()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-parameter-names.md)
- [$constructor->getParameters()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-parameters.md)
- [$constructor->getPrototype()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-prototype.md)
- [$constructor->getReturnType()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-return-type.md)
- [$constructor->getShortName()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-short-name.md)
- [$constructor->getStartLine()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-start-line.md)
- [$constructor->getStaticVariables()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-static-variables.md)
- [$constructor->getTentativeReturnType()](https://getkirby.com/docs/reference/objects/reflection/constructor/get-tentative-return-type.md)
- [$constructor->hasPrototype()](https://getkirby.com/docs/reference/objects/reflection/constructor/has-prototype.md)
- [$constructor->hasReturnType()](https://getkirby.com/docs/reference/objects/reflection/constructor/has-return-type.md)
- [$constructor->hasTentativeReturnType()](https://getkirby.com/docs/reference/objects/reflection/constructor/has-tentative-return-type.md)
- [$constructor->inNamespace()](https://getkirby.com/docs/reference/objects/reflection/constructor/in-namespace.md)
- [$constructor->invoke()](https://getkirby.com/docs/reference/objects/reflection/constructor/invoke.md)
- [$constructor->invokeArgs()](https://getkirby.com/docs/reference/objects/reflection/constructor/invoke-args.md)
- [$constructor->isAbstract()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-abstract.md)
- [$constructor->isClosure()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-closure.md)
- [$constructor->isConstructor()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-constructor.md)
- [$constructor->isDeprecated()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-deprecated.md)
- [$constructor->isDestructor()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-destructor.md)
- [$constructor->isFinal()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-final.md)
- [$constructor->isGenerator()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-generator.md)
- [$constructor->isInternal()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-internal.md)
- [$constructor->isPrivate()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-private.md)
- [$constructor->isProtected()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-protected.md)
- [$constructor->isPublic()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-public.md)
- [$constructor->isStatic()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-static.md)
- [$constructor->isUserDefined()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-user-defined.md)
- [$constructor->isVariadic()](https://getkirby.com/docs/reference/objects/reflection/constructor/is-variadic.md)
- [$constructor->returnsReference()](https://getkirby.com/docs/reference/objects/reflection/constructor/returns-reference.md)
- [$constructor->setAccessible()](https://getkirby.com/docs/reference/objects/reflection/constructor/set-accessible.md)