PHP code example of waaseyaa / bimaaji
1. Go to this page and download the library: Download waaseyaa/bimaaji 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/ */
waaseyaa / bimaaji example snippets
use Waaseyaa\Bimaaji\Graph\ApplicationGraphGenerator;
$graph = $container->get(ApplicationGraphGenerator::class)->generate();
foreach ($graph->sections as $key => $section) {
echo "{$key}: " . count($section->data) . " entries\n";
}
final class FooSectionProvider implements GraphSectionProviderInterface
{
public function getKey(): string { return 'foo'; }
public function provide(): GraphSection { /* ... */ }
}