PHP code example of draw / sonata-extra-bundle
1. Go to this page and download the library: Download draw/sonata-extra-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/ */
draw / sonata-extra-bundle example snippets
namespace App\Sonata\Admin;
user App\Entity\User;
use Sonata\AdminBundle\Admin\AbstractAdmin;
class UserAdmin extends AbstractAdmin
{
public function __construct($code, $class = User::class, $baseControllerName = null)
{
parent::__construct($code, $class, $baseControllerName);
}
}