Autoloader

The Barn2 library autoloader.

Tags
author

Barn2 Plugins info@barn2.com

license

GPL-3.0

link
https://barn2.com
copyright

Barn2 Plugins

Table of Contents

SOURCE_PATHS  = ['Barn2\\Lib' => __DIR__, 'WPTRT\\AdminNotices' => __DIR__ . '/vendor/admin-notices/src']
load()  : mixed

Constants

SOURCE_PATHS

public mixed SOURCE_PATHS = ['Barn2\\Lib' => __DIR__, 'WPTRT\\AdminNotices' => __DIR__ . '/vendor/admin-notices/src']

Methods

load()

public static load(mixed $class) : mixed
Parameters
$class : mixed
Return values
mixed

Search results