protected static function useCustomGrammar($connection)
    {
        // just for MySqlGrammar
        if (get_class($connection) === 'Illuminate\Database\MySqlConnection') {
            $MySqlGrammar = $connection->withTablePrefix(new MySqlGrammar);
            $connection->setSchemaGrammar($MySqlGrammar);
        }

        return $connection->getSchemaBuilder();
    }
protected static function useCustomGrammar($connection)
    {
        // just for MySqlGrammar
        if (get_class($connection) === 'Illuminate\Database\MySqlConnection') {
            $MySqlGrammar = $connection->withTablePrefix(new MySqlGrammar);
            $connection->setSchemaGrammar($MySqlGrammar);
        }

        return $connection->getSchemaBuilder();
    }
protected static function useCustomGrammar ( $ connection ) { // just for MySqlGrammar if ( get_class ( $ connection ) === 'Illuminate\Database\MySqlConnection' ) { $ MySqlGrammar = $ connection -> withTablePrefix ( new MySqlGrammar ) ; $ connection -> setSchemaGrammar ( $ MySqlGrammar ) ; } return $ connection -> getSchemaBuilder ( ) ; }
lead the system to load custom Grammar
@param $connection
lead the system to load custom Grammar