public function declareError(string $pointcutExpression, string $message, int $errorLevel = E_USER_ERROR): void
    {
        $interceptor = new DeclareErrorInterceptor($message, $errorLevel, $pointcutExpression);
        $this->registerAdviceInContainer($pointcutExpression, $interceptor);
    }
public function declareError(string $pointcutExpression, string $message, int $errorLevel = E_USER_ERROR): void
    {
        $interceptor = new DeclareErrorInterceptor($message, $errorLevel, $pointcutExpression);
        $this->registerAdviceInContainer($pointcutExpression, $interceptor);
    }
public function declareError ( string $ pointcutExpression , string $ message , int $ errorLevel = E_USER_ERROR ) : void { $ interceptor = new DeclareErrorInterceptor ( $ message , $ errorLevel , $ pointcutExpression ) ; $ this -> registerAdviceInContainer ( $ pointcutExpression , $ interceptor ) ; }
Declares the error message for specific pointcut expression with concrete error level
Declares the error message for specific pointcut expression with concrete error level