Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Crud
      • Exceptions
      • Facades
  • None
  • PHP

Classes

  • ClassLoader
  • Collection
  • Fluent
  • Manager
  • MessageBag
  • NamespacedItemResolver
  • Pluralizer
  • SerializableClosure
  • ServiceProvider
  • Str
  • Overview
  • Namespace
  • Class
  • Tree

Class ClassLoader

Namespace: Illuminate\Support
Located at vendor/illuminate/support/Illuminate/Support/ClassLoader.php
Methods summary
public static
# load( string $class )

Load the given class file.

Load the given class file.

Parameters

$class
string
$class
public static string
# normalizeClass( string $class )

Get the normal file name for a class.

Get the normal file name for a class.

Parameters

$class
string
$class

Returns

string
public static
# register( )

Register the given class loader on the auto-loader stack.

Register the given class loader on the auto-loader stack.

public static
# addDirectories( string|array $directories )

Add directories to the class loader.

Add directories to the class loader.

Parameters

$directories
string|array
$directories
public static
# removeDirectories( string|array $directories = null )

Remove directories from the class loader.

Remove directories from the class loader.

Parameters

$directories
string|array
$directories
public static array
# getDirectories( )

Gets all the directories registered with the loader.

Gets all the directories registered with the loader.

Returns

array
Properties summary
protected static array $directories array()
#

The registered directories.

The registered directories.

protected static boolean $registered false
#

Indicates if a ClassLoader has been registered.

Indicates if a ClassLoader has been registered.

crud API documentation generated by ApiGen 2.8.0