anton-kozlov/locations

A 8Bit test bundle

1.0 2017-12-12 08:39 UTC

This package is not auto-updated.

Last update: 2024-05-04 14:59:37 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...
        }
    }