File code/addon/Autoload.php

class Lia\Addon\Autoload

Constants

Properties

  • public $fqn = 'lia:server.autoload';
  • public $dirs; an key=>value array

Methods

  • public function __construct($lia=null, $namenull)
  • public function enable()
  • public function addDir($dir,...$baseNamespaces) add a directory to be autoloaded, psr4-ish
  • ``