Exif::location PHP 메소드

location() 공개 메소드

Returns the location object
public location ( ) : object
리턴 object ExifLocation
    public function location()
    {
        if (!is_null($this->location)) {
            return $this->location;
        }
        // check for valid exif data
        if (!is_array($this->data)) {
            return null;
        }
        // initialize and return it
        return $this->location = new Exif\Location($this->data);
    }