trait DeprecateTrait

Methods

$this
deprecate(string $template = null)

Whether this definition is deprecated, that means it should not be called anymore.

Details

at line 27
final $this deprecate(string $template = null)

Whether this definition is deprecated, that means it should not be called anymore.

Parameters

string $template Template message to use if the definition is deprecated

Return Value

$this

Exceptions

InvalidArgumentException when the message template is invalid