|
|
@@ -460,13 +460,6 @@ abstract class Association {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Get the relationship type.
|
|
|
- *
|
|
|
- * @return string Constant of either ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY or MANY_TO_MANY.
|
|
|
- */
|
|
|
- public abstract function type();
|
|
|
-
|
|
|
-/**
|
|
|
* Proxies the finding operation to the target table's find method
|
|
|
* and modifies the query accordingly based of this association
|
|
|
* configuration
|
|
|
@@ -617,6 +610,13 @@ abstract class Association {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Get the relationship type.
|
|
|
+ *
|
|
|
+ * @return string Constant of either ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY or MANY_TO_MANY.
|
|
|
+ */
|
|
|
+ public abstract function type();
|
|
|
+
|
|
|
+/**
|
|
|
* Eager loads a list of records in the target table that are related to another
|
|
|
* set of records in the source table. Source records can specified in two ways:
|
|
|
* first one is by passing a Query object setup to find on the source table and
|