getRawAdvice() public method

Getter for extracting the advice closure from Interceptor
public getRawAdvice ( ) : callable | null
return callable | null
コード例 #1
0
 public function testReturnsRawAdvice()
 {
     $sequence = array();
     $advice = $this->getAdvice($sequence);
     $interceptor = new BaseInterceptor($advice);
     $this->assertEquals($advice, $interceptor->getRawAdvice());
 }