Back to Joomla project (class list)

Class ClassLoader - list of methods

Decorate Composer ClassLoader for Joomla!
For backward compatibility due to class aliasing in the CMS, the loadClass() method was modified to call the JLoader::applyAliasFor() method.
Package: Joomla\CMS\Autoload
Copyright: (C) 2014 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Autoload/ClassLoader.php
Project: Joomla

Method Summary

public
(\Composer\Autoload\ClassLoader $loader)

Constructor
Parameters
  • \Composer\Autoload\ClassLoader $loader Composer autoloader
Since
  • 3.4
Show source code of this method: __construct Source Code

public bool|null
(mixed $class)

Loads the given class or interface.
Parameters
  • string $class The name of the class
Returns
  • bool|null True if loaded, null otherwise
Since
  • 3.4
Show source code of this method: loadClass Source Code

Properties Summary

private \Composer\Autoload\ClassLoader
$loader
The Composer class loader
Since
  • 3.4

Tags Summary

Since
3.4