Fenos\Notifynder\Senders\SenderManager::__call PHP Method

__call() public method

When calling a not existing method try to resolve with an extended.
public __call ( $name, $arguments ) : mixed
$name
$arguments
return mixed
    public function __call($name, $arguments)
    {
        if (isset($arguments[0])) {
            return $this->customSender($name, $arguments[0]);
        }
        $error = 'No argument passed to the custom sender,
                 please provide notifications array';
        throw new BadMethodCallException($error);
    }