Partial constructor application for PHP