eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\Host::getName PHP Method

getName() public method

public getName ( )
    public function getName()
    {
        return 'host:map';
    }

Usage Example

 public function testGetName()
 {
     $matcher = new HostMapMatcher(array('host' => 'foo'), array());
     $this->assertSame('host:map', $matcher->getName());
     $matcherHostElement = new HostElement(array(1));
     $this->assertSame('host:element', $matcherHostElement->getName());
 }