public function addLocation($contents = array(), $old_contents = null)
{
if ($old_contents && @$this->app->compat_42) {
return $this->base_location->addRelativeLocation($contents, $old_contents);
}
/** @type PathFinder_Location $loc */
$loc = $this->add('PathFinder_Location');
return $loc->defineContents($contents);
}