Documentation

AliasConfigurator
in package

Table of Contents

$alias  : mixed
__construct()  : mixed
deprecate()  : $this
Whether this alias is deprecated, that means it should not be called anymore.

Properties

Methods

deprecate()

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

public deprecate(string $package, string $version, string $message) : $this
Parameters
$package : string

The name of the composer package that is triggering the deprecation

$version : string

The version of the package that introduced the deprecation

$message : string

The deprecation message to use

Tags
throws
InvalidArgumentException

when the message template is invalid

Return values
$this

Search results