My first commit of codes
This commit is contained in:
26
vendor/giggsey/libphonenumber-for-php/build/libphonenumber/buildtools/BuildApplication.php
vendored
Normal file
26
vendor/giggsey/libphonenumber-for-php/build/libphonenumber/buildtools/BuildApplication.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace libphonenumber\buildtools;
|
||||
|
||||
use libphonenumber\buildtools\Commands\BuildMetadataPHPFromXMLCommand;
|
||||
use libphonenumber\buildtools\Commands\GeneratePhonePrefixDataCommand;
|
||||
use libphonenumber\buildtools\Commands\GenerateTimeZonesMapDataCommand;
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
class BuildApplication extends Application
|
||||
{
|
||||
const VERSION = '5';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('libphonenumber Data Builder', self::VERSION);
|
||||
|
||||
$this->addCommands(
|
||||
array(
|
||||
new BuildMetadataPHPFromXMLCommand(),
|
||||
new GeneratePhonePrefixDataCommand(),
|
||||
new GenerateTimeZonesMapDataCommand(),
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user