PHP code example of radiofrance / cellulr-engine
1. Go to this page and download the library: Download radiofrance/cellulr-engine 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/ */
radiofrance / cellulr-engine example snippets
use Rf\CellulR\EngineBundle\CoreObject\Response;
class VideoPlayer
{
public function __invoke(Video $video) {
return new Response([
'video' => $video
]);
}
}