Go\Aop\IntroductionInfo::getInterfaces PHP Method

getInterfaces() public method

Return the additional interfaces introduced by this Advisor or Advice.
public getInterfaces ( ) : array | string[]
return array | string[] the introduced interfaces
    public function getInterfaces();

Usage Example

示例#1
0
 /**
  * Return string representation of object
  *
  * @return string
  */
 public function __toString()
 {
     $adviceClass = get_class($this->advice);
     $interfaceClasses = join(',', $this->advice->getInterfaces());
     return get_called_class() . ": advice [{$adviceClass}]; interfaces [{$interfaceClasses}] ";
 }