anton-kozlov/locations

一个8位测试包

1.0 2017-12-12 08:39 UTC

This package is not auto-updated.

Last update: 2024-09-21 16:38:33 UTC


README

  • composer require composer require anton-kozlov/locations

用法示例

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...
        }
    }