App_CLI::addLocation PHP 메소드

addLocation() 공개 메소드

Add new location with additional resources.
public addLocation ( array $contents, mixed $obsolete = UNDEFINED ) : PathFinder_Location
$contents array
$obsolete mixed
리턴 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);
    }