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

getName() public method

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

Usage Example

 public function testGetName()
 {
     $matcher = new HostRegexMatcher(array('host' => 'foo'), array());
     $this->assertSame('host:regexp', $matcher->getName());
 }