Top "Autoload" questions

autoload is a language convention which allows missing classes or method dependencies to be loaded on-demand.

How to list all autoload paths in Rails

How do you list all of the autoload paths in Rails? In Rails console when I do this, it only …

ruby-on-rails ruby-on-rails-3 autoload
Symfony 4 - The autoloader expected class […] to be defined in file

I'm trying to add an old Bundle that I have built on Symfony 3.* to Symfony 4 but I get this error: …

php autoload symfony4
php5.4 autoloading traits

Are traits in php5.4 subject to autoloading? I've not yet got an environment to test in, but I can't see …

php autoload traits
Creating object from variable using Namespaces and Autoload in PHP

EDIT with my own comment afterwards I think the problem is that when PHP is parsing the file to "compile", …

php namespaces symfony autoload
How do I include or autoload external libraries in a TYPO3 Extbase Extension? + Dependecy Injection?

I'm developing a TYPO3 4.6 Extension with Extbase 1.4 and im trying to include an external library. The library, in my case …

dependency-injection typo3 autoload extbase
How to use a PHP library with namespacing without Composer as dependency (PSR-0)?

I need to use some PHP libraries with dependencies but I have some restrictions on the webserver of the client. …

php namespaces composer-php autoload psr-0
How to autoload classes without namespaces with Composer without reinstalling?

I just need to autoload some classes, and I don't like the psr-0 namespace insanity (no offense). This used to …

php composer-php autoload silex
PHP autoloading: Preventing 'cannot redeclare <class>' in all constellations?

Question Is there a way I can make PHP ignore re-declarations of classes rather than barf up a FATAL ERROR? …

php autoload fatal-error redeclaration
PHP Autoloading with SplClassLoader?

I'm learning about namespaces in PHP 5.3 and I would like to use Namespaces Autoloading. I found this SplClassLoader class, but …

php autoload spl-autoloader
multiple spl_autoload_register

what is/are the benefit(s) of having multiple spl_autoload_register example: spl_autoload_register('autoload_systems'); spl_autoload_…

php autoload spl