PHP code example of fatpanda-gmbh / bexio-connector-bundle
1. Go to this page and download the library: Download fatpanda-gmbh/bexio-connector-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/ */
fatpanda-gmbh / bexio-connector-bundle example snippets
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
//...
new Fatpanda\BexioConnectorBundle\BexioConnectorBundle(),
//...
use Fatpanda\BexioConnector\BexioConnector;
class BexioService
{
/**
* @var BexioConnector
*/
private $connector;
public function __construct(BexioConnector $connector, string $token)
{
$this->connector = $connector;
$this->connector->setToken($token);
}
public function getContactsList()
{
$this->connector->getContactsList();
}
}