protected function getReferencesByMetaData(ModelMetaReference $data, $search = null)
    {
        $references = $this->referenceRepository->getReferencesForModelMetaReference($data, $search)->all();

        return $this->formatReferenceOutput($references);
    }
protected function getReferencesByMetaData(ModelMetaReference $data, $search = null)
    {
        $references = $this->referenceRepository->getReferencesForModelMetaReference($data, $search)->all();

        return $this->formatReferenceOutput($references);
    }
protected function getReferencesByMetaData ( ModelMetaReference $ data , $ search = null ) { $ references = $ this -> referenceRepository -> getReferencesForModelMetaReference ( $ data , $ search ) -> all ( ) ; return $ this -> formatReferenceOutput ( $ references ) ; }
Returns references by meta reference data.

@param ModelMetaReference $data
@param string|null        $search
@return string[]
Returns references by meta reference data .