public function export(Yada_Interface_Aggregate $object) { $exported = isset($this::$_exported) ? $this::$_exported : array(); $object->register($this, $exported); }
/** * Export any aggregate methods to the model * @param Yada_Interface_Aggregate $model */ public function export(Yada_Interface_Aggregate $model) { // Exported method names are stored in a static variable $exported = isset(self::$_exported) ? self::$_exported : array(); $model->register($this, $exported); }