There is no support for the object oriented features of either PHP 4 or 5 in PECL_Gen for now.