Go\Aop\Support\SimpleNamespaceFilter::__construct PHP Method

__construct() public method

Namespace name matcher constructor
public __construct ( string $namespaceName )
$namespaceName string Name of the namespace to match or glob pattern
    public function __construct($namespaceName)
    {
        $namespaceName = trim($namespaceName, '\\');
        $this->nsName = $namespaceName;
        $this->regexp = strtr(preg_quote($this->nsName, '/'), array('\\*' => '[^\\\\]+', '\\*\\*' => '.+', '\\?' => '.', '\\|' => '|'));
    }