private function getIntegerSQLDeclarationSnippet(array $options = array())
    {
        $length = isset($options['length']) ? (int) $options['length'] : null;
        $unsigned = isset($options['unsigned']) && $options['unsigned'] ? ' UNSIGNED' : null;
        $autoIncrement = isset($options['auto_increment']) && $options['auto_increment'] ? ' AUTO_INCREMENT' : null;

        $sql = $unsigned.$autoIncrement;

        if ($length !== null) {
            $sql = '('.$length.')'.$sql;
        }

        return $sql;
    }
private function getIntegerSQLDeclarationSnippet(array $options = array())
    {
        $length = isset($options['length']) ? (int) $options['length'] : null;
        $unsigned = isset($options['unsigned']) && $options['unsigned'] ? ' UNSIGNED' : null;
        $autoIncrement = isset($options['auto_increment']) && $options['auto_increment'] ? ' AUTO_INCREMENT' : null;

        $sql = $unsigned.$autoIncrement;

        if ($length !== null) {
            $sql = '('.$length.')'.$sql;
        }

        return $sql;
    }
private function getIntegerSQLDeclarationSnippet ( array $ options = array ( ) ) { $ length = isset ( $ options [ 'length' ] ) ? ( int ) $ options [ 'length' ] : null ; $ unsigned = isset ( $ options [ 'unsigned' ] ) && $ options [ 'unsigned' ] ? ' UNSIGNED' : null ; $ autoIncrement = isset ( $ options [ 'auto_increment' ] ) && $ options [ 'auto_increment' ] ? ' AUTO_INCREMENT' : null ; $ sql = $ unsigned . $ autoIncrement ; if ( $ length !== null ) { $ sql = '(' . $ length . ')' . $ sql ; } return $ sql ; }
Gets the integer SQL declaration snippet.

@param array $options The integer options.

@return string The integer SQL declaration snippet.
Gets the integer SQL declaration snippet .