course

Roll your own Facades

Popularized by Laravel, Facades hide underlying classes and allow normal methods to be invoked as static methods. With a pinch of magic, we're going to create our own!

Watch this course

1. Introduction

03:00

2. Basic Str class in the container

02:50
  • Pro

3. Building the Facade

10:01
  • Pro

4. Caching resolved container instances

02:52
  • Pro
© 2019 Codecourse Ltd. All Rights Reserved. Born in London, UK. Company number 09041072.