Menu Riverview Church

CLASS_ALIAS

Creates an alias for a class

SYNTAX

class_alias ( string $original , string $alias [, bool $autoload = TRUE ] ) : bool

PARAMETERS

original

The original class.

alias

The alias name for the class.

autoload

Whether to autoload if the original class is not found.

RETURN

Returns TRUE on success or FALSE on failure.

EXAMPLES

ORIGINAL ALIAS

true

AUTOLOAD

true

PHP