PHP code example of punch / nevobo-bundle
1. Go to this page and download the library: Download punch/nevobo-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/ */
punch / nevobo-bundle example snippets
return [
// ...
Punch\NevoboBundle\PunchNevoboBundle::class => ['all' => true],
]
use Punch\NevoboBundle\Service\NevoboClient;
class YourController extends AbstractController
{
#[Route(path: '/', name: 'some_route')]
public function index(NevoboClient $client): Response
{
$client->getVereniging('ckl9m4l');
$client->getTeamsForVereniging('ckl9m4l');
$client->getSporthallenForVereniging('ckl9m4l');
$client->getWedstrijdenForVereniging('ckl9m4l');
$client->getWedstrijdResultaatForVereniging('ckl9m4l');
$client->getWedstrijdProgrammaForVereniging('ckl9m4l');
$client->getTeam('ckl9m4l-hs-4');
$client->getPouleIndelingen('regio-west-h1f-7');
$client->getWedstrijdenForPoule('regio-west-h1f-7');
}
}