anton-kozlov / locations
A 8Bit test bundle
1.0
2017-12-12 08:39 UTC
Requires
- php: ~7.1
- guzzlehttp/guzzle: ^6.3
- jms/serializer: ^1.10
- justblackbird/jms-serializer-strict-json: ^0.2.0
This package is not auto-updated.
Last update: 2025-03-08 18:56:27 UTC
README
- composer require composer require anton-kozlov/locations
Usage example:
class DefaultController extends Controller
{
/**
* @Route("/test")
*/
public function pushAction(
\Test\LocationsBundle\Service\DataProviderService $dataProviderService
)
{
try {
$locations = $dataProviderService->getLocations('example.com');
} catch (\Test\LocationsBundle\Exception\LocationsExceptionInterface $exception) {
// Handle exceptions...
}
}