Go\Aop\Pointcut\FunctionPointcut::__construct PHP Method

__construct() public method

Function matcher constructor
public __construct ( string $functionName )
$functionName string Name of the function to match or glob pattern
    public function __construct($functionName)
    {
        $this->functionName = $functionName;
        $this->regexp = strtr(preg_quote($this->functionName, '/'), array('\\*' => '.*?', '\\?' => '.'));
    }