Menu

## Uses extends BaseTag
in package
implements StaticMethod

Uses.php : 30

Reflection class for a {@}uses tag in a Docblock.

### Interfaces, Classes and Traits

StaticMethod

### Table of Contents

$description : Description|null
$name : string
$refers : Fqsen
__construct() : mixed
  Initializes this tag.
__toString() : string
  Returns a string representation of this tag.
create() : mixed
getDescription() : Description|null
getName() : string
  Gets the name of this tag.
getReference() : Fqsen
  Returns the structural element this tag refers to.
render() : string
resolveFqsen() : Fqsen

### Properties

#### $description

BaseTag.php : 28
`protected Description|null $description`

Description of the tag.

#### $name

Uses.php : 33
`protected string $name = 'uses'`

#### $refers

Uses.php : 36
`protected Fqsen $refers`

### Methods

#### __construct()

Uses.php : 41

Initializes this tag.

`public __construct(Fqsen $refers[, Description|null $description = null ]) : mixed`

##### Parameters

$refers : Fqsen
$description : Description|null = null

##### Return values

mixed —

#### __toString()

Uses.php : 88

Returns a string representation of this tag.

`public __toString() : string`

##### Return values

string —

#### create()

Uses.php : 47
`public static create(string $body[, FqsenResolver|null $resolver = null ][, DescriptionFactory|null $descriptionFactory = null ][, Context|null $context = null ]) : mixed`

##### Parameters

$body : string
$resolver : FqsenResolver|null = null
$descriptionFactory : DescriptionFactory|null = null
$context : Context|null = null

##### Return values

mixed —

#### getDescription()

BaseTag.php : 40
`public getDescription() : Description|null`

##### Return values

Description|null —

#### getName()

BaseTag.php : 35

Gets the name of this tag.

`public getName() : string`

##### Return values

string —

The name of this tag.

#### getReference()

Uses.php : 80

Returns the structural element this tag refers to.

`public getReference() : Fqsen`

##### Return values

Fqsen —

#### render()

BaseTag.php : 45
`public render([Formatter|null $formatter = null ]) : string`

##### Parameters

$formatter : Formatter|null = null

##### Return values

string —

#### resolveFqsen()

Uses.php : 64
`private static resolveFqsen(string $parts, FqsenResolver|null $fqsenResolver, Context|null $context) : Fqsen`

##### Parameters

$parts : string
$fqsenResolver : FqsenResolver|null
$context : Context|null

##### Return values

Fqsen —

## Search results