Skip to content
Permalink
Browse files

Add getter for protected $_className value for Association.

  • Loading branch information...
adamroyle committed Feb 24, 2016
1 parent d8e3ced commit dae91d060b8cdf113efe54d8c295c8ec4cfebdc0
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/ORM/Association.php
@@ -260,6 +260,16 @@ public function cascadeCallbacks($cascadeCallbacks = null)
return $this->_cascadeCallbacks;
}
/**
* The class name of the target table object
*
* @return string
*/
public function className()
{
return $this->_className;
}
/**
* Sets the table instance for the source side of the association. If no arguments
* are passed, the current configured table instance is returned

0 comments on commit dae91d0

Please sign in to comment.
You can’t perform that action at this time.