code: public function getLocalDataSource($localModelClass)
      {
          foreach ($this->dataSources as $dataSource) {
              if ($dataSource->localModel === $localModelClass) {
                  return $dataSource;
              }
          }
  
          return false;
      }
docs: Get local data source.
  
  @param [[@doctodo param_type:localModelClass]] $localModelClass [[@doctodo param_description:localModelClass]]
  
  @return [[@doctodo return_type:getLocalDataSource]] [[@doctodo return_description:getLocalDataSource]]