Documentation

PropertyHookDescriptor
in package
implements Descriptor, PropertyHookInterface uses HasName, HasVisibility, HasSummary, HasDescription, HasTags, HasAttributes, HasMetadata

FinalYes

Table of Contents

Interfaces

Descriptor
Base class for descriptors containing the most used options.
PropertyHookInterface

Properties

$attributes  : Collection<string|int, AttributeInterface>
$description  : DescriptionDescriptor|null
$name  : string
$summary  : string
$tags  : Collection<string|int, Collection<string|int, TagDescriptor>>
$visibility  : Visibility|null
$arguments  : Collection<string|int, ArgumentInterface>
$metadata  : array<string|int, Metadata>

Methods

__construct()  : mixed
addArgument()  : void
getArguments()  : Collection<string|int, ArgumentInterface>
getAttributes()  : Collection<string|int, AttributeInterface>
getAuthor()  : Collection<string|int, AuthorDescriptor>
getCopyright()  : Collection<string|int, TagDescriptor>
Returns the copyrights for this element.
getDescription()  : DescriptionDescriptor
Returns the description for this element.
getMetadata()  : array<string|int, Metadata>
getName()  : string
Returns the name for this element.
getSummary()  : string
Returns the summary which describes this element.
getTags()  : Collection<string|int, Collection<string|int, TagDescriptor>>
Returns the tags associated with this element.
getVersion()  : Collection<string|int, VersionDescriptor>
Returns the versions for this element.
getVisibility()  : Visibility
setDescription()  : void
Sets a description or none to inherit from a parent.
setMetadata()  : void
setVisibility()  : void

Properties

$summary

protected string $summary = ''

A summary describing the function of this element in short.

Methods

getName()

Returns the name for this element.

public getName() : string
Return values
string

getSummary()

Returns the summary which describes this element.

public getSummary() : string

This method will automatically attempt to inherit the parent's summary if this one has none.

Return values
string

        
On this page

Search results