final class Autowiring (View source)

Used to disable autowiring for Dependency Injection on the whole class or on the annotated property only.

Properties

bool $enabled

Whether autowiring is enabled. (Can be given as anonymous argument.)

Methods

__construct(bool $enabled = true)

No description

Details

__construct(bool $enabled = true)

No description

Parameters

bool $enabled