public function loader($class)
    {
        if (isset($this->aliases[$class])) {
            class_alias($this->aliases[$class], $class);
            return;
        }

        if ($this->namespacing) {
            if ($alias = $this->getNamespaceAlias($class)) {
                class_alias($this->aliases[$alias], $class);
            }
        }
    }
public function loader($class)
    {
        if (isset($this->aliases[$class])) {
            class_alias($this->aliases[$class], $class);
            return;
        }

        if ($this->namespacing) {
            if ($alias = $this->getNamespaceAlias($class)) {
                class_alias($this->aliases[$alias], $class);
            }
        }
    }
public function loader ( $ class ) { if ( isset ( $ this -> aliases [ $ class ] ) ) { class_alias ( $ this -> aliases [ $ class ] , $ class ) ; return ; } if ( $ this -> namespacing ) { if ( $ alias = $ this -> getNamespaceAlias ( $ class ) ) { class_alias ( $ this -> aliases [ $ alias ] , $ class ) ; } } }
Registered class loader to manage lazy class aliasing.

@param string $class
Registered class loader to manage lazy class aliasing .