Created
June 23, 2010 22:34
-
-
Save jeremeamia/450658 to your computer and use it in GitHub Desktop.
ObjectAccess interface
This file contains hidden or 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 has a ArrayAccess interface, why not an ObjectAccess interface? | |
interface ObjectAccess | |
{ | |
public function __isset($key); | |
public function __get($key); | |
public function __set($key, $value); | |
public function __unset($key); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment