예제 #1
0
 public function getPath($number)
 {
     if (empty($this->request)) {
         return NULL;
     }
     IntValidate::mustBeGreaterThan($number, 0, 'Path number must be a number greater than 0');
     return StringUtil::tokenize($this->request, '/', $number);
 }