analyseURI() public méthode

Analyses $uri and removes the siteaccess part, if needed.
public analyseURI ( string $uri ) : string
$uri string The original URI
Résultat string The modified URI
 public function testAnalyseURI()
 {
     $siteAccessURI = '/footestbar';
     $semanticURI = '/something/hoho';
     $matcher = new URITextMatcher(array('prefix' => 'foo', 'suffix' => 'bar'));
     $matcher->setRequest(SimplifiedRequest::fromUrl('http://phoenix-rises.fm/footestbar/blabla'));
     $this->assertSame($semanticURI, $matcher->analyseURI($siteAccessURI . $semanticURI));
 }
 public function testAnalyseURI()
 {
     $siteAccessURI = "/footestbar";
     $semanticURI = "/something/hoho";
     $matcher = new URITextMatcher(array("prefix" => "foo", "suffix" => "bar"));
     $matcher->setRequest(SimplifiedRequest::fromUrl("http://phoenix-rises.fm/footestbar/blabla"));
     $this->assertSame($semanticURI, $matcher->analyseURI($siteAccessURI . $semanticURI));
 }