Skip to content

Commit

Permalink
Add getter for protected $_className value for Association.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamroyle committed Feb 24, 2016
1 parent d8e3ced commit dae91d0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ORM/Association.php
Expand Up @@ -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
Expand Down

0 comments on commit dae91d0

Please sign in to comment.