App_CLI::addLocation PHP Method

addLocation() public method

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