1545 search results for symfony bundle

After installing the time bundle with `composer require knplabs/knp-time-bundle` I get this error: `Script cache:clear returned with error code 255``` Error: During class fetch: Uncaught ReflectionException: Class ...
... Hey Rafael! I'll add one more thing: if you're creating a re-usable bundle, then nothing has changed in Symfony 4 :). The directory structure is still the same and the best-practices are still the same. We *are ...
weaverryan
weaverryan
Read Full Comment
Hello, For some reason, I get an error while installing this bundle the error: > [Semantical Error] The class "Symfony\Contracts\Service\Attribute\Required" is not annotated with @Annotation. Are you sure this ...
Hum, I did reset the head and all the files and ran $ composer recipes:update chose symfony/framework-bundle and got the same 4 file updates only. Then, I did a reset again to have a clean branch and ran $ composer ...
julien_bonnier
julien_bonnier
Read Full Comment
... upgrade maker, you can do it with: $ composer update symfony/maker-bundle It should help. If not - let me know what version of MakerBundle you have installed, this command should help with this: $ composer info ...
... ): Loading from cache - Installing knplabs/knp-markdown-bundle (1.8.1): Loading from cache Package symfony/lts is abandoned, you should avoid using it. Use symfony/flex instead. ` This is after "composer install" from code in ...
... /a4f90e8258e285dbca3b2122ef059000ec5ca8d8/src/Symfony/Bundle/FrameworkBundle/Resources/config/test.xml#L14 ) is an instance of Client. You can prove this by running: ``` php bin/console debug:container test.client --env=test ...
weaverryan
weaverryan
Read Full Comment
Hey Juan! Sorry for the late reply - SymfonyCon key me busy last week :). Symfony 2.8 comes with the MicroKernelTrait (obviously), but there is no official starting "project" (like the Symfony Standard Edition) that ...
weaverryan
weaverryan
Read Full Comment
... /481ce0a9f1619c0bea95d1b37c4477a9880f7039/symfony/framework-bundle/3.3/config/packages/framework.yaml#L9-L10_ then you don't need to worry about this. What changed is that, until now, if you did NOT have a session configured ...
weaverryan
weaverryan
Read Full Comment
22 lines | .env
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=c28f3d37eba278748f3c0427b313e86a
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\.com)$'
###< symfony/framework-bundle ###
See Code Block in Script
... BaseFormType for: src/Twencha/Bundle/EventRegistrationBundle/Form/Registration/RegistrationWelcomeType.php: * - DEPRECATED AFTER SYMFONY 3.0 (due to auto-wiring): create a service definition (use the sample code from the ...
... should use individual packages like symfony/framework-bundle, symfony/security-bundle, etc. See the full list of dependencies for the symfony/symfony and try to find what packages from that list you're using directly ...
... /0383b067e947efb3570b2fda8259e582ef3d8f2d/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/http_client.html.twig#L40 Actually, in https://github.com/symfony/symfony/blob/0383b067e947efb3570b2fda8259e582ef3d8f2d/src/Symfony/Bundle ...
weaverryan
weaverryan
Read Full Comment
Services Autowiring Pushing To GitHub

... at DependencyInjection and open SecurityExtension.php. This class loads several XML files that provide all of the services for this bundle. Inside the Resources/config/ directory, open security.xml. Around line 136... yep ...

5:51
Updating the All-Important FrameworkBundle Recipe

... it's about to patch some files... which might involve conflicts. Let's start with symfony/framework-bundle, because this is the big one. The most important files in our project come from this recipe. I'll hit 4, clear ...

11:36
... - https://github.com/symfony/recipes-contrib/blob/master/stof/doctrine-extensions-bundle/1.2/config/packages/stof_doctrine_extensions.yaml This make me think that the recipe did *not* execute. Possible reasons are that (A ...
weaverryan
weaverryan
Read Full Comment
... /fb10d2ac4cf54486a1b171685f4a3d6311196938/symfony/framework-bundle/4.4/config/services.yaml#L8-L12 But if you're building a bundle, then you might have this setting. And, in general, like autowiring, the "best practice" is for bundles to ...
weaverryan
weaverryan
Read Full Comment
... `ContainerBuilder` object. But that is NOT the "main" ContainerBuilder. Symfony passes each bundle an empty ContainerBuilder. Then, you add your services to it and - eventually - Symfony merges all of them together. It does that so ...
weaverryan
weaverryan
Read Full Comment
... in "symfony/symfony" to "5.0.*" Your requirements could not be resolved to an installable set of packages. Because the twig/extensions bundle got abandoned by Fabian. WARNING: This repository is abandoned in favor of ...
... services: Knp\Bundle\MarkdownBundle\MarkdownParserInterface: '@markdown.parser' ``` And now, Symfony will be able to autowire any service that depends on MarkdownParserInterface if you want to learn more about how ...
MolloKhan
MolloKhan
Read Full Comment