code: public function findPublished(StatusableInterface $element)
      {
          $qa = $this->createAggregationQueryBuilderWithSiteIdAndLanguage($element->getSiteId(), $element->getLanguage());
          $filter = array(
              'status.publishedState' => true,
              'deleted' => false,
              'nodeId' => $element->getNodeId(),
          );
          $qa->match($filter);
  
          return $this->hydrateAggregateQuery($qa);
      }
docs: @param StatusableInterface $element
  
  @return array