public function testCreateShouldReturnRegExpSectionWhenPrefixPassed() { self::assertInstanceOf('\\Nano\\Route\\Section\\RegExp', \Nano\Route\Section\Common::create('~foo')); }
public function __construct($location) { parent::__construct(mb_strToLower($location, 'UTF-8')); }
public function __construct($location) { parent::__construct('/^' . $location . '/i'); }
public function __construct() { parent::__construct(null); }