This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* PHP Anonymous Object | |
* Dan Skarbek's extension to Mihailoff's solution that makes it easier to | |
* create properties along with methods in the anonymous object. | |
*/ | |
class AnObj | |
{ | |
public function __construct(array $options) |