original_string: public function generateSubContentCriterion(Location $location, array $includedContentTypeIdentifiers = array(), array $languages = array())
      {
          $criteria = array();
          $criteria[] = new Criterion\Visibility(Criterion\Visibility::VISIBLE);
          $criteria[] = new Criterion\ContentTypeIdentifier($includedContentTypeIdentifiers);
          $criteria[] = new Criterion\LanguageCode($languages);
          $criteria[] = new Criterion\ParentLocationId($location->id);
  
          return new Criterion\LogicalAnd($criteria);
      }
code: public function generateSubContentCriterion(Location $location, array $includedContentTypeIdentifiers = array(), array $languages = array())
      {
          $criteria = array();
          $criteria[] = new Criterion\Visibility(Criterion\Visibility::VISIBLE);
          $criteria[] = new Criterion\ContentTypeIdentifier($includedContentTypeIdentifiers);
          $criteria[] = new Criterion\LanguageCode($languages);
          $criteria[] = new Criterion\ParentLocationId($location->id);
  
          return new Criterion\LogicalAnd($criteria);
      }
code_tokens: public function generateSubContentCriterion ( Location $ location , array $ includedContentTypeIdentifiers = array ( ) , array $ languages = array ( ) ) { $ criteria = array ( ) ; $ criteria [ ] = new Criterion \ Visibility ( Criterion \ Visibility :: VISIBLE ) ; $ criteria [ ] = new Criterion \ ContentTypeIdentifier ( $ includedContentTypeIdentifiers ) ; $ criteria [ ] = new Criterion \ LanguageCode ( $ languages ) ; $ criteria [ ] = new Criterion \ ParentLocationId ( $ location -> id ) ; return new Criterion \ LogicalAnd ( $ criteria ) ; }
docstring: Generate criterion list to be used to list sub folder items.
  
  @param \eZ\Publish\API\Repository\Values\Content\Location $location Location of the folder
  @param string[] $includedContentTypeIdentifiers Array of included contentType identifiers
  @param string[] $languages Array of languages
  
  @return \eZ\Publish\API\Repository\Values\Content\Query\Criterion
docstring_tokens: Generate criterion list to be used to list sub folder items .