diff options
Diffstat (limited to 'dev-php/symfony-config/files/autoload.php')
-rw-r--r-- | dev-php/symfony-config/files/autoload.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-php/symfony-config/files/autoload.php b/dev-php/symfony-config/files/autoload.php new file mode 100644 index 000000000000..6c6f5c501beb --- /dev/null +++ b/dev-php/symfony-config/files/autoload.php @@ -0,0 +1,20 @@ +<?php +/* Autoloader for dev-php/symfony-config and its dependencies */ + +$vendor_dir = '/usr/share/php'; + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once("${vendor_dir}/Fedora/Autoloader/autoload.php"); +} + +\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Config\\', __DIR__); + +// Required dependencies. +\Fedora\Autoloader\Dependencies::required(array( + "${vendor_dir}/Symfony/Component/Filesystem/autoload.php" +)); + +// Optional dependencies. +\Fedora\Autoloader\Dependencies::optional(array( + "${vendor_dir}/PHPUnit/vendor/autoload.php" +)); |