Example #1
0
 public function testCreateShouldReturnRegExpSectionWhenPrefixPassed()
 {
     self::assertInstanceOf('\\Nano\\Route\\Section\\RegExp', \Nano\Route\Section\Common::create('~foo'));
 }
Example #2
0
 public function __construct($location)
 {
     parent::__construct(mb_strToLower($location, 'UTF-8'));
 }
Example #3
0
 public function __construct($location)
 {
     parent::__construct('/^' . $location . '/i');
 }
Example #4
0
File: Root.php Project: visor/nano
 public function __construct()
 {
     parent::__construct(null);
 }