public function validate($template)
    {
        $template = $template instanceof Template ? $template : Template::fromArray($template);

        $this->client->validateTemplate($template);
    }
public function validate($template)
    {
        $template = $template instanceof Template ? $template : Template::fromArray($template);

        $this->client->validateTemplate($template);
    }
public function validate ( $ template ) { $ template = $ template instanceof Template ? $ template : Template :: fromArray ( $ template ) ; $ this -> client -> validateTemplate ( $ template ) ; }
Validates the given template without publishing it.

@param Template|array $template

@throws ValidationFailed if the validation failed
Validates the given template without publishing it .