src/Charcoal/Source/DatabaseSource.php
protected function createOrder(array $data = null)
    {
        $order = new DatabaseOrder();
        if ($data !== null) {
            $order->setData($data);
        }
        return $order;
    }
protected function createOrder(array $data = null)
    {
        $order = new DatabaseOrder();
        if ($data !== null) {
            $order->setData($data);
        }
        return $order;
    }
protected function createOrder ( array $ data = null ) { $ order = new DatabaseOrder ( ) ; if ( $ data !== null ) { $ order -> setData ( $ data ) ; } return $ order ; }
Create a new order expression.

@param  array $data Optional expression data.
@return DatabaseOrder
Create a new order expression .