Example #1
0
 /**
  * Constructor
  * @param \Runalyze\Data\Weather\ForecastStrategyInterface $Strategy
  * @param \Runalyze\Data\Weather\Location $Location
  */
 public function __construct(ForecastStrategyInterface $Strategy, Location $Location)
 {
     $this->Strategy = $Strategy;
     $this->Location = $Location;
     $this->Strategy->loadForecast($this->Location);
 }