protected function isPrototypeSchemaValid(stdclass $prototype)
    {
        foreach ($prototype as $method => $args) {
            if (! is_array($args)) {
                return false;
            }
        }

        return true;
    }
protected function isPrototypeSchemaValid(stdclass $prototype)
    {
        foreach ($prototype as $method => $args) {
            if (! is_array($args)) {
                return false;
            }
        }

        return true;
    }
protected function isPrototypeSchemaValid ( stdclass $ prototype ) { foreach ( $ prototype as $ method => $ args ) { if ( ! is_array ( $ args ) ) { return false ; } } return true ; }
Validates a prototype object

@param  stdClass $prototype object prototype
@return boolean  true if prototype is valid
Validates a prototype object