original_string: public function convertPolicyIdList(array $data = null)
      {
          $policyIdsList = new PolicyIdList();
          $policyIdsList->setPolicyIds(
              array_filter(
                  array_filter(
                      $data[JSONConstants::JSON_OBJECT_POLICY_IDS_IDS] ?? [],
                      'is_string'
                  ),
                  function ($item) { return !empty($item); }
              )
          );
          $policyIdsList->setExtensions($this->convertExtension($data, JSONConstants::getPolicyIdsKeys()));
  
          return $policyIdsList;
      }
code: public function convertPolicyIdList(array $data = null)
      {
          $policyIdsList = new PolicyIdList();
          $policyIdsList->setPolicyIds(
              array_filter(
                  array_filter(
                      $data[JSONConstants::JSON_OBJECT_POLICY_IDS_IDS] ?? [],
                      'is_string'
                  ),
                  function ($item) { return !empty($item); }
              )
          );
          $policyIdsList->setExtensions($this->convertExtension($data, JSONConstants::getPolicyIdsKeys()));
  
          return $policyIdsList;
      }
code_tokens: public function convertPolicyIdList ( array $ data = null ) { $ policyIdsList = new PolicyIdList ( ) ; $ policyIdsList -> setPolicyIds ( array_filter ( array_filter ( $ data [ JSONConstants :: JSON_OBJECT_POLICY_IDS_IDS ] ?? [ ] , 'is_string' ) , function ( $ item ) { return ! empty ( $ item ) ; } ) ) ; $ policyIdsList -> setExtensions ( $ this -> convertExtension ( $ data , JSONConstants :: getPolicyIdsKeys ( ) ) ) ; return $ policyIdsList ; }
docstring: Converts a list of policy ids.
  
  @param array|null $data
  @return PolicyIdList List of policy ids
docstring_tokens: Converts a list of policy ids .