Logger

Source on GitHub Constants integer SPECIAL integer CUSTOM integer DEBUG integer INFO integer NOTICE integer WARNING integer ERROR integer ALERT integer CRITICAL integer EMERGENCE integer EMERGENCY

Loader::unregister

public unregister () Unregister the autoload method

Loader\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Loader::setExtensions

public setExtensions (array $extensions) Sets an array of file extensions that the loader must try in each attempt to locate the file

Loader::registerFiles

public registerFiles (array $files, [mixed $merge]) Registers files that are “non-classes” hence need a “require”. This is very useful for including files that only have functions

Loader::registerNamespaces

public registerNamespaces (array $namespaces, [mixed $merge]) Register namespaces and their related directories

Loader::loadFiles

public loadFiles () Checks if a file exists and then adds the file by doing virtual require

Loader::register

public register () Register the autoload method

Loader::getFoundPath

public getFoundPath () Get the path when a class was found

Loader::getNamespaces

public getNamespaces () Returns the namespaces currently registered in the autoloader