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

__construct() public method

NB: only public methods can be matched as __call and __callStatic are public
public __construct ( string $methodName, Go\Aop\PointFilter $modifierFilter = null )
$methodName string Name of the dynamic method to match or glob pattern
$modifierFilter Go\Aop\PointFilter Method modifier filter (static or not)
    public function __construct($methodName, PointFilter $modifierFilter = null)
    {
        $this->methodName = $methodName;
        $this->regexp = strtr(preg_quote($this->methodName, '/'), array('\\*' => '.*?', '\\?' => '.', '\\|' => '|'));
        $this->modifierFilter = $modifierFilter;
    }