original_string: public function allOfType($value, $status = 'ACTIVE')
      {
          $ids = [];
          foreach ($this->data->user_identifier as $identifier) {
              if ($identifier->id_type->value == $value && (is_null($status) || $identifier->status == $status)) {
                  $ids[] = $identifier->value;
              }
          }
  
          return $ids;
      }
code: public function allOfType($value, $status = 'ACTIVE')
      {
          $ids = [];
          foreach ($this->data->user_identifier as $identifier) {
              if ($identifier->id_type->value == $value && (is_null($status) || $identifier->status == $status)) {
                  $ids[] = $identifier->value;
              }
          }
  
          return $ids;
      }
code_tokens: public function allOfType ( $ value , $ status = 'ACTIVE' ) { $ ids = [ ] ; foreach ( $ this -> data -> user_identifier as $ identifier ) { if ( $ identifier -> id_type -> value == $ value && ( is_null ( $ status ) || $ identifier -> status == $ status ) ) { $ ids [ ] = $ identifier -> value ; } } return $ ids ; }
docstring: Get all active user identifiers of a given type, like 'BARCODE' or 'UNIV_ID'.
  
  @param string $value
  @param string $status
  
  @return array
docstring_tokens: Get all active user identifiers of a given type like BARCODE or UNIV_ID .