LFT
  • Namespace
  • Class
  • Tree

Namespaces

  • Docoflow
    • Contracts
    • Entity
    • Facades
    • Models
    • Traits
  • Docolight
    • Agno
      • Traits
    • Container
    • Http
      • Contracts
    • Rest
      • Handler
      • Http
    • Support
      • Debug
      • Traits
  • Docotory
    • Traits
  • None

Classes

  • ActiveRecordWrapper
  • Arr
  • Carbonate
  • ClassLoader
  • Collection
  • CollectionDataProvider
  • Facade
  • Factory
  • Fluent
  • Html
  • IterablePager
  • Repository
  • Set
  • Str

Class ClassLoader

Class loader.

Namespace: Docolight\Support
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docolight/Support/ClassLoader.php

Methods summary

public static boolean
# load( string $class )

Load the given class file.

Load the given class file.

Parameters

$class

Returns

boolean
public static string
# normalizeClass( string $class )

Get the normal file name for a class.

Get the normal file name for a class.

Parameters

$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
public static
# removeDirectories( string|array $directories = null )

Remove directories from the class loader.

Remove directories from the class loader.

Parameters

$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

The registered directories.

The registered directories.

# array()
protected static boolean $registered

Indicates if a ClassLoader has been registered.

Indicates if a ClassLoader has been registered.

# false
LFT API documentation generated by ApiGen