final class Proxy (View source)

Used to disable proxy building for an object.

If disabled, neither Dependency Injection nor AOP can be used on the object.

Properties

bool $enabled

Whether proxy building for the target is disabled. (Can be given as anonymous argument.)

Methods

__construct(bool $enabled = true)

No description

Details

__construct(bool $enabled = true)

No description

Parameters

bool $enabled