isDateTimeObject() public static method

Check if $var is an instance of DateTimeObject.
public static isDateTimeObject ( mixed $var ) : boolean
$var mixed Element to check.
return boolean
Beispiel #1
0
 /**
  * Check if $instance is a DateTimeObject.
  *
  * @param mixed $instance
  *
  * @return bool
  */
 protected static function isDateTimeObject($instance)
 {
     return StdObjectWrapper::isDateTimeObject($instance);
 }