final class Introduce (View source)

Introduces the given interface or property into any target class matching the given pointcut expression.

Properties

string $pointcutExpression

The pointcut expression. (Can be given as anonymous argument.)

string $interfaceName

The interface name to introduce.

string $traitName

The trait name to introduce

Methods

__construct(array $values)

No description

Details

__construct(array $values)

No description

Parameters

array $values

Exceptions

InvalidArgumentException