PHP code example of ev / evalandgo-client-bundle
1. Go to this page and download the library: Download ev/evalandgo-client-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/ */
ev / evalandgo-client-bundle example snippets
public function registerBundles()
{
return array(
// ...
new EV\EvalandgoClientBundle\EVEvalandgoClientBundle(),
// ...
);
}
public function indexAction() {
$client = $this->get('ev_evalandgo_client.myevalandgo.client');
$questionnaires = $client->resource('questionnaire')->all();
return array(
'questionnaires' => $questionnaires
);
}