Pages

Showing posts with label The XHPChild interface. Show all posts
Showing posts with label The XHPChild interface. Show all posts

Wednesday, March 26, 2014

The XHPChild interface

The XHPChild interface 

(HHVM >= 2.5)

Introduction 

XHPChild is the base type of values that can be children of XHP elements.
Most primitive types implement XHPChild: string, int, float, and array.
Note:
Classes that implement XHPChild must do so by implementing the XHPChildClass subinterface.

Interface synopsis 

XHPChild {
}
This interface has no methods, its only purpose is to be the base interface for all XHP classes.