Heyday\ResponsiveImages\ResponsiveImageExtension::__call PHP Method

__call() public method

A wildcard method for handling responsive sets as template functions, e.g. $MyImage.ResponsiveSet1
public __call ( string $method, array $args ) : HTMLText
$method string The method called
$args array The arguments passed to the method
return HTMLText
    public function __call($method, $args)
    {
        if ($config = $this->getConfigForSet($method)) {
            return $this->createResponsiveSet($config, $args, $method);
        }
    }