code: public function getAttachments($path = null)
      {
          return array_merge(
              $this->getUploadedAttachment($path),
              $this->getUrlAttachment($path),
              $this->getServiceAttachment($path)
          );
      }
docs: @param null|string $path
  
  @return array|mixed|string
  @throws InternalServerErrorException