Continuous Learning
Author image

Daniel Mecke

3 Posts

Simple Wrapper

We write conditionals all the time. Often, we check for very simple things, not worth any extra effort of encapsulation. But in many cases, this makes perfect sense even for very basic things. Let me give you an example: $date = new \DateTime('2016-05-15'); if ($date->format('N') == 6 || $date-&
Continue Reading
You've successfully subscribed to Continuous Learning
Great! Next, complete checkout for full access to Continuous Learning
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.