Blurs an image
@param int $method One of blue methods: GAUSSIAN_BLUR or SELECTIVE_BLUR
@return Imagery this object
9073
public function blur($method = self::GAUSSIAN_BLUR) {
		if (!in_array($method, array(self::GAUSSIAN_BLUR, self::SELECTIVE_BLUR)))
			return false;
		imagefilter($this->resource, $method);
		return $this;
	}
402521
public function each($method)
    {
        foreach ($this as $rec) {
            if (is_string($method)) {
                $rec->$method();
            } elseif (is_callable($method)) {
                call_user_func($method, $rec);
            }
        }

        return $this;
    }
1175835
public function execute($image)
    {
        $amount = (int) $this->argument(0)->between(0, 100)->value(1);

        for ($i=0; $i < $amount; ++$i) {
            imagefilter($image->getCore(), IMG_FILTER_GAUSSIAN_BLUR);
        }

        return true;
    }
982681
protected function getMagicMethodProperty($method)
    {
        // Get the property name
        $property = lcfirst(substr($method, 3));

        $transform = function ($letters) {
            $letter = array_shift($letters);

            return '_' . strtolower($letter);
        };

        $property = preg_replace_callback('/([A-Z])/', $transform, $property);

        // Make sure the property exists
        if (! array_key_exists($property, $this->object)) {
            throw new InvalidArgumentException('Property, '.$property.', not found');
        }

        return $property;
    }
649593
public function methods($method) {
        if (is_string($method)) {
            $method = array($method);
        }
        $this->rule = "only";
        $this->method = $method;
        return $this;
    }
558759
public function setMethod($method) {
        $this->method = (true === in_array($method, [self::HTTP_METHOD_GET, self::HTTP_METHOD_POST]) ? $method : self::HTTP_METHOD_POST);
        return $this;
    }
1347579
public function only($method)
    {
        if (!is_array($method)) {
            $method = [ $method ];
        }

        $this->only += $method;

        return $this;
    }
1140430
public function setCanonicalMethod($method)
	{
		if (array_key_exists($method, $this->c14nOptionMapping))
		{
			$this->canonicalMethod = $method;
		}
		else
		{
			trigger_error(sprintf('The chosen canonical method (%s) is not supported', $method), E_USER_WARNING);
		}
		
		return $this;
	}
1032280
public function setMethod($method)
    {
        if ($method < 1 || $method > self::METHOD_ALL) {
            throw new BadMethodException("Invalid method mask {$method}");
        }
        $this->method = $method;
    }
603708
private static function getMethodClass($method)
    {
        if (self::isAlgorithmSupported($method)) {
            return self::getSupportedMethods()[$method];
        }
        throw new \InvalidArgumentException(sprintf('Compression method "%s" is not supported.', $method));
    }
254210
public function getMethodPrefix($method)
    {
        $method = strtolower($method);

        return isset($this->methodPrefix[$method]) ? $this->methodPrefix[$method] : null;
    }
945961
public function setMethod($method)
	{
		if ($method === null || !is_array($method) || empty($method)) {
			throw new InvalidArgumentException('No method provided');
		}

		foreach ($method as $m) {
			if (!in_array($m, array('GET','POST','PUT','PATCH','DELETE'))) {
				throw new InvalidArgumentException('Method not allowed. allowed methods: GET, POST, PUT, PATCH, DELETE');
			}
		}

		$this->method = $method;

		return $this;
	}
1352204
private function getCompressionMethod($method)
    {
        $compression_method = $this->getCompressionManager()->getCompressionAlgorithm($method);
        Assertion::notNull($compression_method, sprintf('Compression method "%s" not supported', $method));

        return $compression_method;
    }
812049
private function setShadowBlur($blur)
    {
        if ($blur !== null) {
            $this->shadowProperties['blur'] = (string) $this->getExcelPointsWidth($blur);
        }

        return $this;
    }
109777
public function setMethod(string $method = 'POST'): ButtonInterface
    {
        if ($this->isVisibility()) {
            $this->method = $method;
        }

        return $this;
    }
1195758
public function setMethod(int $method)
    {
        $this->method = $method;
        curl_setopt($this->connection, $method, true);

        return $this;
    }
372224
public function method($method = null)
    {
        if ($method === null) {
            return $this->get('REQUEST_METHOD');
        }
        $this->set("REQUEST_METHOD", $method);
        return $this;
    }