private function prepare($args)
    {
        $bindings = array();

        // Two parameters (key, value).
        if (count($args) == 2) {
            $bindings[$args[0]] = $args[1];
        }
        // Array of parameters.
        elseif (is_array($args[0])) {
            $bindings = $args[0];
        }

        return $bindings;
    }
private function prepare($args)
    {
        $bindings = array();

        // Two parameters (key, value).
        if (count($args) == 2) {
            $bindings[$args[0]] = $args[1];
        }
        // Array of parameters.
        elseif (is_array($args[0])) {
            $bindings = $args[0];
        }

        return $bindings;
    }
private function prepare ( $ args ) { $ bindings = array ( ) ; // Two parameters (key, value). if ( count ( $ args ) == 2 ) { $ bindings [ $ args [ 0 ] ] = $ args [ 1 ] ; } // Array of parameters. elseif ( is_array ( $ args [ 0 ] ) ) { $ bindings = $ args [ 0 ] ; } return $ bindings ; }
Prepares binding parameters.

@param array $args
@return void
Prepares binding parameters .