Collective\Html\HtmlBuilder::__call PHP Method

__call() public method

Dynamically handle calls to the class.
public __call ( string $method, array $parameters ) : Illuminate\Contracts\View\View | mixed
$method string
$parameters array
return Illuminate\Contracts\View\View | mixed
    public function __call($method, $parameters)
    {
        try {
            return $this->componentCall($method, $parameters);
        } catch (BadMethodCallException $e) {
            //
        }
        try {
            return $this->macroCall($method, $parameters);
        } catch (BadMethodCallException $e) {
            //
        }
        throw new BadMethodCallException("Method {$method} does not exist.");
    }