A Practical Guide to the Law of Demeter with PHP Examples