original_string: protected function getReferencesByMetaData(ModelMetaReference $data, $search = null)
      {
          $references = $this->referenceRepository->getReferencesForModelMetaReference($data, $search)->all();
  
          return $this->formatReferenceOutput($references);
      }
code: protected function getReferencesByMetaData(ModelMetaReference $data, $search = null)
      {
          $references = $this->referenceRepository->getReferencesForModelMetaReference($data, $search)->all();
  
          return $this->formatReferenceOutput($references);
      }
code_tokens: protected function getReferencesByMetaData ( ModelMetaReference $ data , $ search = null ) { $ references = $ this -> referenceRepository -> getReferencesForModelMetaReference ( $ data , $ search ) -> all ( ) ; return $ this -> formatReferenceOutput ( $ references ) ; }
docstring: Returns references by meta reference data.
  
  @param ModelMetaReference $data
  @param string|null        $search
  @return string[]
docstring_tokens: Returns references by meta reference data .