original_string: function getAllInterfaces($includeSelf) {
      if (NULL === $this->interfacesAll) {
        $this->interfacesAllInclSelf = $this->interfacesAll = $this->buildAllInterfacesWithoutSelf();
        if (NULL !== $this->selfInterfaceName) {
          $selfInterface = $this->classIndex->classGetReflection($this->selfInterfaceName);
          if (NULL !== $selfInterface) {
            $this->interfacesAllInclSelf = array($this->selfInterfaceName => $selfInterface) + $this->interfacesAllInclSelf;
          }
        }
      }
      return $includeSelf
        ? $this->interfacesAllInclSelf
        : $this->interfacesAll;
    }
code: function getAllInterfaces($includeSelf) {
      if (NULL === $this->interfacesAll) {
        $this->interfacesAllInclSelf = $this->interfacesAll = $this->buildAllInterfacesWithoutSelf();
        if (NULL !== $this->selfInterfaceName) {
          $selfInterface = $this->classIndex->classGetReflection($this->selfInterfaceName);
          if (NULL !== $selfInterface) {
            $this->interfacesAllInclSelf = array($this->selfInterfaceName => $selfInterface) + $this->interfacesAllInclSelf;
          }
        }
      }
      return $includeSelf
        ? $this->interfacesAllInclSelf
        : $this->interfacesAll;
    }
code_tokens: function getAllInterfaces ( $ includeSelf ) { if ( NULL === $ this -> interfacesAll ) { $ this -> interfacesAllInclSelf = $ this -> interfacesAll = $ this -> buildAllInterfacesWithoutSelf ( ) ; if ( NULL !== $ this -> selfInterfaceName ) { $ selfInterface = $ this -> classIndex -> classGetReflection ( $ this -> selfInterfaceName ) ; if ( NULL !== $ selfInterface ) { $ this -> interfacesAllInclSelf = array ( $ this -> selfInterfaceName => $ selfInterface ) + $ this -> interfacesAllInclSelf ; } } } return $ includeSelf ? $ this -> interfacesAllInclSelf : $ this -> interfacesAll ; }
docstring: Gets all interfaces directly or indirectly implemented by this class.
  
  Will include the class itself if it is an interface.
  
  @param bool $includeSelf
  
  @return \Donquixote\HastyReflectionCommon\Reflection\ClassLike\ClassLikeReflectionInterface[]
docstring_tokens: Gets all interfaces directly or indirectly implemented by this class .