Example #1
0
 public static function relative($child, $parent)
 {
     $parent = self::resolve($parent);
     $child = self::resolve($child);
     if (Strings::startsWith($child, $parent)) {
         return substr($child, strlen($parent) + 1);
     } else {
         return false;
     }
 }
Example #2
0
 public function resolveSymbol($symbol)
 {
     if (Strings::endsWith($this->import, '*')) {
     }
 }