public function addLocation($contents, $obsolete = UNDEFINED)
    {
        if ($obsolete !== UNDEFINED) {
            throw $this->exception('Use a single argument for addLocation');
        }

        return $this->pathfinder->addLocation($contents);
    }
public function addLocation($contents, $obsolete = UNDEFINED)
    {
        if ($obsolete !== UNDEFINED) {
            throw $this->exception('Use a single argument for addLocation');
        }

        return $this->pathfinder->addLocation($contents);
    }
public function addLocation ( $ contents , $ obsolete = UNDEFINED ) { if ( $ obsolete !== UNDEFINED ) { throw $ this -> exception ( 'Use a single argument for addLocation' ) ; } return $ this -> pathfinder -> addLocation ( $ contents ) ; }
Add new location with additional resources.

@param array $contents
@param mixed $obsolete

@return PathFinder_Location
Add new location with additional resources .