     1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19

    <?php
    /**
     * @class BaMLGeneric
     *
     * generic class for BaML
     * verbs, and containers
     * should provide functions to
     * control data in the objects
     */
    namespace Catapult;

    abstract class BaMLGeneric {
        public function setText($text) { }
        public function addText($text) { }
        public function getText() {
            return (string) $this->text;
        }
    }