lithium\core\StaticObject::_parents PHP Method

_parents() protected static method

Gets and caches an array of the parent methods of a class.
protected static _parents ( ) : array
return array Returns an array of parent classes for the current class.
    protected static function _parents()
    {
        $class = get_called_class();
        if (!isset(self::$_parents[$class])) {
            self::$_parents[$class] = class_parents($class);
        }
        return self::$_parents[$class];
    }