예제 #1
0
 /**
  * Returns true if this library is the same as given object argument.
  * 
  * @param mixed $object
  * @return boolean
  */
 public function equals($object)
 {
     if (!is_object($object)) {
         return false;
     }
     if (!$object instanceof self) {
         return false;
     }
     return parent::equals($object);
 }
예제 #2
0
 /**
  * Builds a new PhpLibraryConstant object.
  */
 public function __construct()
 {
     parent::__construct();
     $this->_libraryVersionHistory = new VersionHistory();
 }