Documentation

AsAlias
in package

FinalYes

An attribute to tell under which alias a service should be registered or to use the implemented interface if no parameter is given.

Tags
author

Alan Poulain contact@alanpoulain.eu

Attributes
#[Attribute]
\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE

Table of Contents

Properties

$id  : string|null
$public  : bool

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct([string|null $id = null ][, bool $public = false ]) : mixed
Parameters
$id : string|null = null
$public : bool = false

        
On this page

Search results