示例#1
0
 /**
  * On PHP 5.2 the child class doesn't get spawned on the Parent one, so we don't have
  * access to that information on the other side unless we pass it around as a param
  * so we throw __CLASS__ to the parent::instance() method to be able to spawn new instance
  * of this class and save on the parent::$instances variable.
  *
  * @param  $name DONT USE THIS PARAM, it's here for Abstract compatibility
  * @return Tribe__Events__JSON_LD__Venue
  */
 public static function instance($name = null)
 {
     return parent::instance(__CLASS__);
 }