Menu

## UriTemplateActionBuilder
in package
implements TemplateActionBuilder

UriTemplateActionBuilder.php : 31

A builder class for URI action.

### Interfaces, Classes and Traits

TemplateActionBuilder
  The interface that has a responsibility to build template action.

### Table of Contents

$altUri : AltUriBuilder|null
$label : string
$uri : string
__construct() : mixed
  UriAction constructor.
buildTemplateAction() : array<string|int, mixed>
  Builds URI action structure.

### Properties

#### $altUri

UriTemplateActionBuilder.php : 38
`private AltUriBuilder|null $altUri`

#### $label

UriTemplateActionBuilder.php : 34
`private string $label`

#### $uri

UriTemplateActionBuilder.php : 36
`private string $uri`

### Methods

#### __construct()

UriTemplateActionBuilder.php : 46

UriAction constructor.

`public __construct(string $label, string $uri[, AltUriBuilder $altUri = null ]) : mixed`

##### Parameters

$label : string

  Label of action.

$uri : string

  URI of the link.

$altUri : AltUriBuilder = null

##### Return values

mixed —

#### buildTemplateAction()

UriTemplateActionBuilder.php : 58

Builds URI action structure.

`public buildTemplateAction() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

Built URI action structure.

## Search results