ClassLoader::register( bool $prepend = false )

Registers this instance as an autoloader.


Parameters Parameters

$prepend

(bool) (Optional) Whether to prepend the autoloader or not

Default value: false


Top ↑

Source Source

File: vendor/composer/ClassLoader.php

    public function register($prepend = false)
    {
        spl_autoload_register(array($this, 'loadClass'), true, $prepend);
    }