PHP code example of shyim / database-entities-builder-bundle
1. Go to this page and download the library: Download shyim/database-entities-builder-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/ */
shyim / database-entities-builder-bundle example snippets
$repo = new \ShyimDatabaseEntitiesGenerator\Models\Emotion\EmotionRepository(Shopware()->Container()->get('dbal_connection'));
$emotion = $repo->find(1);
var_dump($emotion);
die();