PHP code example of answear / econt-pickup-point-bundle

1. Go to this page and download the library: Download answear/econt-pickup-point-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

answear / econt-pickup-point-bundle example snippets


use Answear\EcontBundle\Command\GetOffices;
use Answear\EcontBundle\Request\GetOfficesRequest;

/** @var GetOffices $getOfficesCommand */
$getOfficeResponse = $getOfficesCommand->getOffices(new GetOfficesRequest());

use Answear\EcontBundle\Command\GetCities;
use Answear\EcontBundle\Request\GetCitiesRequest;

/** @var GetCities $getCitiesCommand */
$getCitiesResponse = $getCitiesCommand->getCities(new GetCitiesRequest());