ClassInterface

extends ElementInterface, ChildInterface, TypeInterface
in package

Common interface representing the description of a class.

Methods

Sets the Fully Qualified Structural Element Name (FQSEN) for this element.

publicsetFullyQualifiedStructuralElementName(Fqsen $name) : void

Parameters

$name : Fqsen

Returns the Fully Qualified Structural Element Name (FQSEN) for this element.

publicgetFullyQualifiedStructuralElementName() : Fqsen|null

Returns

Fqsen|null

Sets the local name for this element.

publicsetName(string $name) : void

Parameters

$name : string

Returns the local name for this element.

publicgetName() : string

Returns

string

Sets a summary describing this element.

publicsetSummary(string $summary) : void

Parameters

$summary : string

Returns the summary describing this element.

publicgetSummary() : string

Returns

string

Sets a longer description for this element.

publicsetDescription(string $description) : void

Parameters

$description : string

Returns a longer description for this element.

publicgetDescription() : string

Returns

string

Sets the file and location for this element.

publicsetLocation(FileDescriptor $file, int $line) : void

Parameters

$file : FileDescriptor
$line : int

Returns the file location for this element relative to the project root.

publicgetPath() : string

Returns

string

Returns the line number where this element may be found.

publicgetLine() : int

Returns

int
Inherited from
\phpDocumentor\Descriptor\Interfaces\ElementInterface
see
getPath()

to find out in which file this element is found.

Returns all tags associated with this element.

publicgetTags() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>

Returns the parent for this descriptor.

publicgetParent() : DescriptorAbstract|Fqsen|string|null

Returns

DescriptorAbstract|Fqsen|string|null

Sets the parent for this Descriptor.

publicsetParent(DescriptorAbstract|Fqsen|string|null $parent) : void

Parameters

$parent : DescriptorAbstract|Fqsen|string|null

public__toString() : string

Returns

string

publicsetInterfaces(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\InterfaceDescriptor|\phpDocumentor\Reflection\Fqsen> $implements) : void

Parameters

$implements : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\InterfaceDescriptor|\phpDocumentor\Reflection\Fqsen>

publicgetInterfaces() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\InterfaceDescriptor|\phpDocumentor\Reflection\Fqsen>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\InterfaceDescriptor|\phpDocumentor\Reflection\Fqsen>

publicsetFinal(bool $final) : void

Parameters

$final : bool

publicisFinal() : bool

Returns

bool

publicsetAbstract(bool $abstract) : void

Parameters

$abstract : bool

publicisAbstract() : bool

Returns

bool

publicsetConstants(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\ConstantDescriptor> $constants) : void

Parameters

$constants : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\ConstantDescriptor>

publicgetConstants() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\ConstantDescriptor>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\ConstantDescriptor>

publicsetMethods(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor> $methods) : void

Parameters

$methods : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>

publicgetMethods() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>

publicgetInheritedMethods() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>

publicsetProperties(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor> $properties) : void

Parameters

$properties : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>

publicgetProperties() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>

publicgetInheritedProperties() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>