Port of https://github.com/ryansmith94/couple from JS to PHP. A library for coupling two objects together. This is useful for nested pattern matching.