Phar::setAlias

Phar::setAlias

(PHP >= 5.3.0, PECL phar >= 1.2.1)

Phar::setAliasSet the alias for the Phar archive

Description

public bool Phar::setAlias ( string $alias )

Note:

This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown.

Set the alias for the Phar archive, and write it as the per