YoVDO

Symfony 3.3: Upgrade, Autowiring & Autoconfigure

Offered By: SymfonyCasts

Tags

Symfony Courses Web Development Courses PHP Courses Dependency Injection Courses Autowiring Courses

Course Description

Overview

Symfony 3.3 comes with some FRESH new dependency injection changes! Yes, autowiring, autoconfigure, auto-registration of services! Autobots, roll out! In this tutorial, we will:

  • Upgrade to Symfony 3.3
  • Learn about the new _defaults keyword
  • Update service ids to be class names
  • Discuss public versus private services
  • Upgrade to the new services.yml format without breaking our project
  • Auto-register all classes in src/AppBundle as services (what!?)
  • Handling classes that have multiple services registered
  • Understanding autowiring and aliases
  • Using named arguments when autowiring fails

Say hello to the bigger, faster, strong way of service configuration!


Syllabus

  • Upgrading to Symfony 3.3!
  • _defaults, autowire & autoconfigure
  • Service Class Name as Service id
  • Making all Services Private
  • Auto-Registering All Services
  • Controllers as Services
  • Understanding Autowiring Logic
  • Problematic Multi-Class Services
  • Autowiring Controller Arguments
  • Aliases & When Autowiring Fails
  • Autowiring Deprecations
  • Configuring Specific (Named) Arguments
  • RAD with Symfony 3.3

Taught by

Ryan Weaver

Related Courses

Introduction to Functional Programming
Delft University of Technology via edX
Introduction to Office 365 Development and APIs
Microsoft via edX
Web Development and Design using Wordpress
California Institute of the Arts via Kadenze
Build a Basic PHP Website Course (How To)
Treehouse
Web Applications for Everybody
Independent