public function process($node, $path = null) { $args = func_get_args(); $self = isset($this) ? $this : get_called_class(); if ($pointcut = Pointcut::before(__METHOD__, $self, $args)) { return $pointcut($args, $self); } return $node; }