public function run()
{
spl_autoload_register(array($this, 'loadClass'));
}
Why use $this here?
How should spl_autoload_register() be used?
public function run()
{
spl_autoload_register(array($this, 'loadClass'));
}
Why use $this here?
How should spl_autoload_register() be used?