/**
* Adds an instance to a pool segment
*
- * @param $group Name of the pool group
- * @param $poolSegment Name of the pool segment
- * @param $instance An instance of a class that should bed added to the pool
+ * @param $group Name of the pool group
+ * @param $poolSegment Name of the pool segment
+ * @param $visitableInstance An instance of a class that should bed added to the pool
* @return void
*/
- protected final function addInstance ($group, $poolName, Visitable $instance) {
+ protected final function addInstance ($group, $poolName, Visitable $visitableInstance) {
// Is the pool group there?
if (!$this->getPoolEntriesInstance()->isGroupSet($group)) {
// Create the missing pool group
} // END - if
// Add it to given pool group
- $this->getPoolEntriesInstance()->addInstance($group, $poolName, $instance);
+ $this->getPoolEntriesInstance()->addInstance($group, $poolName, $visitableInstance);
}
/**