commit vendor
This commit is contained in:
26
vendor/laminas/laminas-servicemanager/bin/generate-deps-for-config-factory
vendored
Normal file
26
vendor/laminas/laminas-servicemanager/bin/generate-deps-for-config-factory
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @see https://github.com/laminas/laminas-servicemanager for the canonical source repository
|
||||
* @copyright https://github.com/laminas/laminas-servicemanager/blob/master/COPYRIGHT.md
|
||||
* @license https://github.com/laminas/laminas-servicemanager/blob/master/LICENSE.md New BSD License
|
||||
*/
|
||||
|
||||
namespace Laminas\ServiceManager;
|
||||
|
||||
// Setup/verify autoloading
|
||||
if (file_exists($a = getcwd() . '/vendor/autoload.php')) {
|
||||
require $a;
|
||||
} elseif (file_exists($a = __DIR__ . '/../../../autoload.php')) {
|
||||
require $a;
|
||||
} elseif (file_exists($a = __DIR__ . '/../vendor/autoload.php')) {
|
||||
require $a;
|
||||
} else {
|
||||
fwrite(STDERR, 'Cannot locate autoloader; please run "composer install"' . PHP_EOL);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$command = new Tool\ConfigDumperCommand($argv[0]);
|
||||
$status = $command(array_slice($argv, 1));
|
||||
exit($status);
|
||||
26
vendor/laminas/laminas-servicemanager/bin/generate-factory-for-class
vendored
Normal file
26
vendor/laminas/laminas-servicemanager/bin/generate-factory-for-class
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @see https://github.com/laminas/laminas-servicemanager for the canonical source repository
|
||||
* @copyright https://github.com/laminas/laminas-servicemanager/blob/master/COPYRIGHT.md
|
||||
* @license https://github.com/laminas/laminas-servicemanager/blob/master/LICENSE.md New BSD License
|
||||
*/
|
||||
|
||||
namespace Laminas\ServiceManager;
|
||||
|
||||
// Setup/verify autoloading
|
||||
if (file_exists($a = getcwd() . '/vendor/autoload.php')) {
|
||||
require $a;
|
||||
} elseif (file_exists($a = __DIR__ . '/../../../autoload.php')) {
|
||||
require $a;
|
||||
} elseif (file_exists($a = __DIR__ . '/../vendor/autoload.php')) {
|
||||
require $a;
|
||||
} else {
|
||||
fwrite(STDERR, 'Cannot locate autoloader; please run "composer install"' . PHP_EOL);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$command = new Tool\FactoryCreatorCommand($argv[0]);
|
||||
$status = $command(array_slice($argv, 1));
|
||||
exit($status);
|
||||
Reference in New Issue
Block a user