PHP code example of bigperson / exchange1c-symfony-bridge
1. Go to this page and download the library: Download bigperson/exchange1c-symfony-bridge 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/ */
bigperson / exchange1c-symfony-bridge example snippets
use Bigperson\Exchange1C\Interfaces\EventInterface;
use Bigperson\Exchange1CSymfonyBridge\SymfonyEventDispatcher;
use Symfony\Component\EventDispatcher\EventDispatcher;
$symfonyDispatcher = new EventDispatcher();
$bridgeDispatcher = new SymfonyEventDispatcher($symfonyDispatcher);
...
$categoryService = new \Bigperson\Exchange1C\Services\CategoryService($request, $config, $bridgeDispatcher, $modelBuilder);