PHP code example of numaxlab / icaa-files
1. Go to this page and download the library: Download numaxlab/icaa-files 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/ */
numaxlab / icaa-files example snippets
use NumaxLab\Icaa\EarningsFile;
$icaaFile = EarningsFile::parse($fileContent);
$box = $icaaFile->getBox();
//...
use NumaxLab\Icaa\EarningsFile;
$icaaFile = new EarningsFile();
$icaaFile->setBox($box)
->addCinemaTheatre($cinemaTheatre)
//...
->addSession($session)
//...
->addSessionFilm($sessionFilm)
//...
->addFilm($film)
//...
->addSessionScheduling($sessionScheduling);
$fileContent = $icaaFile->dump();