phpDocumentor

ArgumentAssembler extends AssemblerAbstract
in package

Assembles an ArgumentDescriptor using an ArgumentReflector and ParamDescriptors.

Table of Contents

Properties

$builder  : ProjectDescriptorBuilder|null

Methods

create()  : TDescriptor|null
Creates a Descriptor from the provided data.
getBuilder()  : ProjectDescriptorBuilder|null
Returns the builder for this Assembler or null if none is set.
setBuilder()  : void
Registers the Builder with this Assembler.
overwriteTypeAndDescriptionFromParamTag()  : void
Overwrites the type and description in the Argument Descriptor with that from the tag if the names match.
prettifyValue()  : string|null

Properties

Methods

create()

Creates a Descriptor from the provided data.

public create(Argument $data[, iterable<string|int, ParamDescriptor$params = [] ]) : TDescriptor|null
Parameters
$data : Argument
$params : iterable<string|int, ParamDescriptor> = []
Return values
TDescriptor|null

overwriteTypeAndDescriptionFromParamTag()

Overwrites the type and description in the Argument Descriptor with that from the tag if the names match.

protected overwriteTypeAndDescriptionFromParamTag(Argument $argument, ParamDescriptor $paramDescriptor, ArgumentInterface $argumentDescriptor) : void
Parameters
$argument : Argument
$paramDescriptor : ParamDescriptor
$argumentDescriptor : ArgumentInterface

prettifyValue()

protected prettifyValue(string|null $value) : string|null
Parameters
$value : string|null
Return values
string|null

        
On this page

Search results