private function template($toObject)
	{
		if($toObject) {
			$response = new StdClass;

			foreach($this->returnLocationData as $key => $value) {
				$response->{$key} = $value;
			}
			return $response;
		}
		return $this->returnLocationData;
	}
private function template($toObject)
	{
		if($toObject) {
			$response = new StdClass;

			foreach($this->returnLocationData as $key => $value) {
				$response->{$key} = $value;
			}
			return $response;
		}
		return $this->returnLocationData;
	}
private function template ( $ toObject ) { if ( $ toObject ) { $ response = new StdClass ; foreach ( $ this -> returnLocationData as $ key => $ value ) { $ response -> { $ key } = $ value ; } return $ response ; } return $ this -> returnLocationData ; }
Return the template as array or object

@param  bool $toObject
@return mixed
Return the template as array or object