eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\Host::getName PHP 메소드

getName() 공개 메소드

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());
 }