Php - Use (Alias)

Card Puncher Data Processing

About

use operator is for giving aliases to:

  • names of classes,
  • interfaces
  • or other namespaces.

Example

use My\Full\Classname as Another;
use My\Full\NSname; // Same as use My\Full\NSname as NSname

Documentation / Reference







Share this page:
Follow us:
Task Runner