Archived video

This video is archived and won't be updated. We're keeping it online for now as a courtesy.

Alternate resources: 

YAML Configuration for Dev and Prod in Symfony 3

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:08
    We have 2 environments
  • 0:10
    and that's super flexible.
  • 0:13
    Or, I think it will be just as soon as we figure out
  • 0:17
    how the heck we can configure each environment.
  • 0:21
    Compare app.php and app_dev.php.
  • 0:24
    What are the differences?
  • 0:26
    OK, OK, ignore that big "if" block in app_dev.php.
  • 0:31
    The importance difference is a single line.
  • 0:34
    The one that starts with kernel = new AppKernel
  • 0:40
    And hey, that's the class that lives in our apps directory.