예제 #1
0
 public function __construct($message = 'Regex')
 {
     parent::__construct($message);
     $this->providers[] = function () {
         return null;
     };
 }
예제 #2
0
 public function __construct($message = 'Path')
 {
     parent::__construct($message);
     $this->providers[] = function () {
         null;
     };
 }
예제 #3
0
 public function __construct($message = 'URL Factory')
 {
     parent::__construct($message);
     $factory = new h\uri\factory();
     $factory->do_register_factory(h\string('http'), new h\http\uri_factory($factory));
     $factory->do_register_factory(h\string('net_path'), new h\uri\net_path_factory($factory));
     $factory->do_register_factory(h\string('hierarchical_part'), new h\uri\hierarchical_part_factory($factory));
     $factory->do_register_factory(h\string('host'), new h\uri\host_factory($factory));
     $factory->do_register_factory(h\string('port'), new h\uri\port_factory($factory));
     $factory->do_register_factory(h\string('absolute_path'), new h\uri\path_factory($factory));
     $this->factory = $factory;
     $this->providers[] = function () {
         return 'http://localhost/';
     };
     $this->providers[] = function () {
         return 'http://projects.lupusmic.org/horn';
     };
     $this->providers[] = function () {
         return 'http://projects.lupusmic.org:8080/horn';
     };
 }
예제 #4
0
 public function __construct($message = 'Autotest')
 {
     parent::__construct($message);
 }