php-maps-urls:使用PHP构建Google Maps URL API的URL

时间:2021-05-24 07:15:49
【文件属性】:
文件名称:php-maps-urls:使用PHP构建Google Maps URL API的URL
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-24 07:15:49
PHP PHP Google Maps网址 该软件包允许您为构建URL。 这是一个简单的例子: use CyrildeWit \ MapsUrls \ UrlGenerator ; use CyrildeWit \ MapsUrls \ Actions \ SearchAction ; use CyrildeWit \ MapsUrls \ Actions \ DirectionsAction ; $ searchAction = ( new SearchAction ()) -> setQuery ( 'The Netherlands Amsterdam' ); $ searchUrl = ( new UrlGenerator ( $ searchAction ))-> generate (); $ directionsAction = ( new DirectionsActio
【文件预览】:
php-maps-urls-1.x
----.gitignore(51B)
----src()
--------Exceptions()
--------Actions()
--------Enums()
--------UrlGenerator.php(1KB)
----LICENSE.md(635B)
----.styleci.yml(16B)
----composer.json(1KB)
----.github()
--------workflows()
----README.md(14KB)
----tests()
--------Actions()
--------UrlGeneratorTest.php(2KB)
----phpunit.xml.dist(983B)

网友评论