Returns current image backup

@param string $name
@return mixed
355043
public function getBackup($name = null)
    {
        $name = is_null($name) ? 'default' : $name;

        if ( ! $this->backupExists($name)) {
            throw new \Intervention\Image\Exception\RuntimeException(
                "Backup with name ({$name}) not available. Call backup() before reset()."
            );
        }

        return $this->backups[$name];
    }
601792
public function getRelease($name)
	{
		$key = strtolower($name);
		if ( ! $this->hasRelease($key))
		{
			return null;
		}

		return $this->releases[$key];
	}
729444
public function __getData(string $name)
    {
        if (isset($this->data[$name])) {
            return $this->data[$name];
        }

        return null;
    }
147648
static public function session($name=null)
	{
	    $id = 'session';
	    if (!static::has($id)) {
	        static::setShared($id, function () {
	            // app option
	            $options = Config::get('session');
	            
	            if ($options['storage'] == 'file') {
	                if (!isset($options['save_path']) && isset($options['path'])) {
	                    $options['save_path'] = $options['path'];
	                }
	                $options['save_path'] = isset($options['save_path']) ? ltrim($options['save_path'], '/') : 'sessions';
	                $options['save_path'] = Config::getStoragePath() . $options['save_path'];
	            }
	            $obj = new Session($options);
	            $obj->start();
	            return $obj;
	        });
	    }
	    
	    return static::get($id);
	}
902006
public function &__get($name)
    {
      $retval = null;	

      if('name' === $name){
      	 return $this->name;
      }elseif('dump' === $name){
      	 $retval = $this->_dump();
      	 return $retval;
      }elseif (isset($this->data[$name])){
           $retval = $this->data[$name];
           return $retval;
	  }

        return $retval;
    }
856614
protected function get_setting_value($name) {
        if (is_null($this->task)) {
            throw new backup_step_exception('not_specified_backup_task');
        }
        return $this->task->get_setting_value($name);
    }
1335461
public function resolveFile($name)
    {
        if($this->getStorageFacility() == null)
            return null;

        return $this->getStorageFacility()->resolveFile($this->getStorageFacilityParams(), $name);
    }
1368945
public function get($name)
    {
        if (!isset($this->storages[$name])) {
            throw new InvalidArgumentException("Storage $name not found.");
        }

        return $this->storages[$name];
    }
365698
public function get($name)
    {
        if ($this->flowCache->has($name)) {
            $this->flowCache->requireOnce($name);
        }

        return $this->flowCache->getWrapped($name);
    }
1251650
public function getUploadedFile($name)
    {
        $filePath = '';
        if (array_key_exists($name, $_FILES)) {
            $filePath = $_FILES[$name]['tmp_name'];
        } elseif (array_key_exists($name, $this->parameters)) {
            $filePath = substr($this->parameters[$name], 1);
        }

        return $filePath;
    }
170470
public function get(string $name)
    {
        if (!isset($this->_data[$name])) {
            return null;
        }

        return $this->_data[$name];
    }
672658
public function getFile(string $name): ?\BearFramework\App\Request\FormDataFileItem
    {
        if (isset($this->data[$name]) && $this->data[$name] instanceof \BearFramework\App\Request\FormDataFileItem) {
            return $this->data[$name];
        }
        return null;
    }
892059
protected function getExtendFile($name) {
        if (strpos($name, '@') === 0) {
            return $this->factory->invokeTheme('getFile', [substr($name, 1)]);
        }
        if (strpos($name, './') === 0) {
            return $this->file->getDirectory()
                ->getFile($this->factory->fileSuffix(substr($name, 2)));
        }
        if (strpos($name, '../') === 0) {
            return $this->file->getDirectory()->parent()
                ->getFile($this->factory->fileSuffix($name));
        }
        return $name;
    }
934560
public function get($name)
    {
        if (isset($this->_loaded[$name])) {
            return $this->_loaded[$name];
        }

        return null;
    }
153890
public function get($name)
    {
        if (!$this->has($name)) {
            throw new \InvalidArgumentException(sprintf('No filesystem is registered for name "%s"', $name));
        }

        return $this->maps[$name];
    }
1107954
public function hasImage(string $name) : bool
    {
        return $this->imageContentAreas->any(function (ImageContentArea $contentArea) use ($name) {
            return $contentArea->image->isValidImage() && $contentArea->name === $name;
        });
    }
1031382
public static function get( $name = null ) {
		if ( is_null( $name ) ) {
			return self::$data;
		}

		if ( isset( self::$data[ $name ] ) ) {
			return self::$data[ $name ];
		}

		return null;
	}