1545 search results for symfony bundle

104 lines | composer.json
{
// ... lines 2 - 41
"require-dev": {
// ... line 43
"easycorp/easy-log-handler": "^1.0.2",
// ... lines 45 - 49
"symfony/monolog-bundle": "^3.0",
// ... lines 51 - 53
},
// ... lines 55 - 102
}
See Code Block in Script
14 lines | src/Controller/BaseController.php
// ... lines 1 - 2
namespace App\Controller;
// ... lines 4 - 5
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
abstract class BaseController extends AbstractController
{
// ... lines 10 - 13
}
See Code Block in Script
// ... lines 1 - 2
namespace App\Controller;
// ... lines 4 - 5
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class ContainerTestController extends AbstractController
{
// ... lines 10 - 14
}
See Code Block in Script
40 lines | app/LittleKernel.php
// ... lines 1 - 2
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
// ... lines 4 - 11
class LittleKernel extends Kernel
{
// ... lines 14 - 15
public function registerBundles()
{
return [
new FrameworkBundle()
];
}
// ... lines 22 - 38
}
See Code Block in Script
26 lines | app/LittleKernel.php
// ... lines 1 - 2
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
// ... lines 4 - 9
class LittleKernel extends Kernel
{
use MicroKernelTrait;
// ... lines 13 - 24
}
See Code Block in Script
// ... lines 1 - 2
namespace AppBundle\Controller;
// ... lines 4 - 5
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
// ... lines 7 - 8
class UserController extends Controller
{
// ... lines 11 - 17
}
See Code Block in Script
// ... lines 1 - 2
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
// ... lines 6 - 7
class SecurityController extends Controller
{
// ... lines 10 - 12
public function loginAction()
{
}
}
See Code Block in Script
27 lines | AppKernel.php
// ... lines 1 - 5
class AppKernel extends Kernel
{
public function registerBundles()
{
// ... lines 10 - 16
$bundles[] = new \Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
// ... lines 18 - 19
}
// ... lines 21 - 25
}
See Code Block in Script
50 lines | AppKernel.php
// ... lines 1 - 6
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ... lines 12 - 14
new \Symfony\Bundle\MonologBundle\MonologBundle(),
// ... line 16
);
// ... lines 18 - 23
}
// ... lines 25 - 48
}
See Code Block in Script
<?php
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class BaseController extends Controller
{
}
See Code Block in Script
19 lines | src/Controller/ArticleAdminController.php
// ... lines 1 - 2
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
// ... lines 6 - 8
class ArticleAdminController extends AbstractController
{
// ... lines 11 - 17
}
See Code Block in Script
<?php
namespace AppBundle\Controller\Api;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
// ... lines 6 - 9
class ProgrammerController extends Controller
{
// ... lines 12 - 19
}
See Code Block in Script
37 lines | importmap.php
// ... lines 1 - 15
return [
// ... lines 17 - 23
'@hotwired/stimulus' => [
// ... line 25
'preload' => true,
],
'@symfony/stimulus-bundle' => [
// ... line 29
'preload' => true,
],
'@hotwired/turbo' => [
// ... line 33
'preload' => true,
],
];
See Code Block in Script
// ... lines 1 - 10
use Symfony\Bundle\SecurityBundle\Security;
class DragonTreasureIsPublishedExtension implements QueryCollectionExtensionInterface, QueryItemExtensionInterface
{
public function __construct(private Security $security)
{
}
// ... lines 18 - 50
}
See Code Block in Script
36 lines | src/Validator/IsValidOwnerValidator.php
// ... lines 1 - 5
use Symfony\Bundle\SecurityBundle\Security;
// ... lines 7 - 9
class IsValidOwnerValidator extends ConstraintValidator
{
public function __construct(private Security $security)
{
}
// ... lines 15 - 34
}
See Code Block in Script
52 lines | src/Security/Voter/DragonTreasureVoter.php
// ... lines 1 - 5
use Symfony\Bundle\SecurityBundle\Security;
// ... lines 7 - 10
class DragonTreasureVoter extends Voter
{
// ... lines 13 - 14
public function __construct(private Security $security)
{
}
// ... lines 18 - 50
}
See Code Block in Script
27 lines | tests/Functional/ApiTestCase.php
// ... lines 1 - 2
namespace App\Tests\Functional;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
// ... lines 6 - 9
abstract class ApiTestCase extends KernelTestCase
{
// ... lines 12 - 25
}
See Code Block in Script
10 lines | src/Controller/BaseController.php
// ... lines 1 - 2
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
abstract class BaseController extends AbstractController
{
}
See Code Block in Script
New Dialog Goodies Autocomplete Progress

... check out the cookbook article we have on the topic: namespace Yoda\EventBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony ...

4:41
Yo LluĂ­s Puig Ferrer! Thanks for the comment! It looks like the newest version of this bundle isn't compat with the version of Symfony we were using in this tutorial (it would probably actually work just fine, but that bundle now requires a higher version). We're going to add a note to the video to help others :). Cheers! ...
weaverryan
weaverryan
Read Full Comment