Documentation

Injectable
in package

FinalYes

"Injectable" attribute.

Marks a class as injectable

Tags
author

Domenic Muskulus domenic@muskulus.eu

author

Matthieu Napoli matthieu@mnapoli.fr

Attributes
#[Attribute]
\Attribute::TARGET_CLASS

Table of Contents

Properties

$lazy  : bool|null

Methods

__construct()  : mixed
isLazy()  : bool|null

Properties

Methods

__construct()

public __construct([bool|null $lazy = null ]) : mixed
Parameters
$lazy : bool|null = null

Should the object be lazy-loaded.

isLazy()

public isLazy() : bool|null
Return values
bool|null

        
On this page

Search results