Browse Source

Trigger a deprecation warning

Dustin Haggard 8 years ago
parent
commit
9438e57de8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/ORM/Table.php

+ 2 - 0
src/ORM/Table.php

@@ -880,6 +880,8 @@ class Table implements RepositoryInterface, EventListenerInterface, EventDispatc
      */
     public function association($name)
     {
+        deprecationWarning('Use Table::getAssociation() instead.');
+
         return $this->getAssociation($name);
     }