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

getName() public method

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

Usage Example

コード例 #1
0
 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());
 }