![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/laminas/laminas-loader/src/ |
<?php // phpcs:disable WebimpressCodingStandard.NamingConventions.Interface.Suffix namespace Laminas\Loader; use Traversable; use function interface_exists; if (interface_exists(SplAutoloader::class)) { return; } /** * Defines an interface for classes that may register with the spl_autoload * registry */ interface SplAutoloader { /** * Constructor * * Allow configuration of the autoloader via the constructor. * * @param null|array|Traversable $options */ public function __construct($options = null); /** * Configure the autoloader * * In most cases, $options should be either an associative array or * Traversable object. * * @param array|Traversable $options * @return SplAutoloader */ public function setOptions($options); /** * Autoload a class * * @param string $class * @return mixed * False [if unable to load $class] * get_class($class) [if $class is successfully loaded] */ public function autoload($class); /** * Register the autoloader with spl_autoload registry * * Typically, the body of this will simply be: * <code> * spl_autoload_register(array($this, 'autoload')); * </code> * * @return void */ public function register(); }