src/CarteBlanche/Library/StorageEngine/DatabaseDriver/AbstractDatabaseDriver.php
protected function _buildStatics(array $statics_map)
    {
        // assoc
        if (isset($statics_map['assoc'])) {
            self::$DBADAPTER_ASSOC = $statics_map['assoc'];
        } else {
            throw new \InvalidArgumentException('You must defined the "assoc" constant value (as a static property) for a database adapter!');
        }

        // num
        if (isset($statics_map['num'])) {
            self::$DBADAPTER_NUM = $statics_map['num'];
        } else {
            throw new \InvalidArgumentException('You must defined the "num" constant value (as a static property) for a database adapter!');
        }

        // both
        if (isset($statics_map['both'])) {
            self::$DBADAPTER_BOTH = $statics_map['both'];
        } else {
            throw new \InvalidArgumentException('You must defined the "both" constant value (as a static property) for a database adapter!');
        }
    }
protected function _buildStatics(array $statics_map)
    {
        // assoc
        if (isset($statics_map['assoc'])) {
            self::$DBADAPTER_ASSOC = $statics_map['assoc'];
        } else {
            throw new \InvalidArgumentException('You must defined the "assoc" constant value (as a static property) for a database adapter!');
        }

        // num
        if (isset($statics_map['num'])) {
            self::$DBADAPTER_NUM = $statics_map['num'];
        } else {
            throw new \InvalidArgumentException('You must defined the "num" constant value (as a static property) for a database adapter!');
        }

        // both
        if (isset($statics_map['both'])) {
            self::$DBADAPTER_BOTH = $statics_map['both'];
        } else {
            throw new \InvalidArgumentException('You must defined the "both" constant value (as a static property) for a database adapter!');
        }
    }
Constants constructor

@param array $statics_map An array defineding every class'statics value