Skip to content

orevenat/workshop-oop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Location

Usage Instructions

$ip = "188.186.18.255";
$location = new Location;
$location->getLocationData($ip)

Return array.

Weather CLI and Class

Usage Instructions

Пример использования:

$customService = ['CustomService' => CustomClass::class];
$weather = new Weather($customService);
$info = $weather->getTownWheather('London', 'CustomService');

Пример использования CLI

bin/weather London
bin/weather --service=SecondService London

Return temp and wind speed.

About

workshop-oop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published