public function addLibrary($path) { $GLOBALS['instance'] = $this; $dir = new CleanCodeDir($path); $dir->scan(function ($item) { $GLOBALS['instance']->addPath($item . '/'); }, true); }
public static function setPath($path) { static::$path = CleanCodeDir::translate($path); }