original_string: protected function get($id) {
  		if ($this->pool === null) {
  			$this->pool = new Map();
  		} else if ($this->pool->has($id)) {
  			return $this->pool->get($id);
  		}
  
  		$model = SportQuery::create()->findOneById($id);
  		$this->pool->set($id, $model);
  
  		return $model;
  	}
code: protected function get($id) {
  		if ($this->pool === null) {
  			$this->pool = new Map();
  		} else if ($this->pool->has($id)) {
  			return $this->pool->get($id);
  		}
  
  		$model = SportQuery::create()->findOneById($id);
  		$this->pool->set($id, $model);
  
  		return $model;
  	}
code_tokens: protected function get ( $ id ) { if ( $ this -> pool === null ) { $ this -> pool = new Map ( ) ; } else if ( $ this -> pool -> has ( $ id ) ) { return $ this -> pool -> get ( $ id ) ; } $ model = SportQuery :: create ( ) -> findOneById ( $ id ) ; $ this -> pool -> set ( $ id , $ model ) ; return $ model ; }
docstring: Returns one Sport with the given id from cache
  
  @param mixed $id
  @return Sport|null
docstring_tokens: Returns one Sport with the given id from cache