diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/symfony-dependency-injection/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/symfony-dependency-injection/files')
-rw-r--r-- | dev-php/symfony-dependency-injection/files/autoload.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-php/symfony-dependency-injection/files/autoload.php b/dev-php/symfony-dependency-injection/files/autoload.php new file mode 100644 index 000000000000..4df35ec39a58 --- /dev/null +++ b/dev-php/symfony-dependency-injection/files/autoload.php @@ -0,0 +1,15 @@ +<?php +/* Autoloader for dev-php/symfony-dependency-injection and its dependencies */ + +$vendorDir = '/usr/share/php'; +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\DependencyInjection\\', __DIR__); + +// Dependencies +\Fedora\Autoloader\Dependencies::required(array( + $vendorDir . '/Symfony/Component/Yaml/autoload.php', + $vendorDir . '/Symfony/Component/Config/autoload.php', +)); |