Browse Source

Moving more code around

Jose Lorenzo Rodriguez 12 years ago
parent
commit
30477133f5
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/ORM/Association.php

+ 7 - 7
src/ORM/Association.php

@@ -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