Gets the connection object to which this model is bound. Throws exceptions if a connection
isn't set, or if the connection named isn't configured.
public static connection ( ) : object | ||
return | object | Returns an instance of `lithium\data\Source` from the connection configuration to which this model is bound. |