Go\Aop\Intercept\Joinpoint::getThis PHP Method

getThis() public method

Returns the object that holds the current joinpoint's static part.
public getThis ( ) : object | string
return object | string the object for dynamic call or string with name of scope
    public function getThis();

Usage Example

コード例 #1
0
 /**
  * Method invoker
  *
  * @param Joinpoint $joinpoint the method invocation joinpoint
  *
  * @return mixed the result of the call to {@see Joinpoint->proceed()}
  */
 public final function invoke(Joinpoint $joinpoint)
 {
     if ($joinpoint instanceof Invocation) {
         if ($this->dynamicPointFilter->matches($joinpoint->getStaticPart(), $joinpoint->getThis(), $joinpoint->getArguments())) {
             return $this->interceptor->invoke($joinpoint);
         }
     }
     return $joinpoint->proceed();
 }
All Usage Examples Of Go\Aop\Intercept\Joinpoint::getThis