Orion PHP  0.11.12
The PHP5.3 framework
object.php
Go to the documentation of this file.
00001 <?php
00002 namespace Orion\Core;
00003 
00004 /**
00005  * \Orion\Core\Object
00006  * 
00007  * Orion object class.
00008  *
00009  * @author Thibaut Despoulain
00010  * @license BSD 4-clauses
00011  * @version 0.11.12
00012  */
00013 class Object extends \stdClass
00014 {
00015     /**
00016      * Tests if object is of given instance.
00017      * @param string $class
00018      * @return boolean
00019      */
00020     public function isA($class)
00021     {
00022         return ($this instanceOf $class);
00023     }
00024 }
00025 ?>