src/Metabox/Metabox.php
public function setTemplate($template, string $screen = 'page'): MetaboxInterface
    {
        $this->template[$screen] = (array) $template;

        return $this;
    }
public function setTemplate($template, string $screen = 'page'): MetaboxInterface
    {
        $this->template[$screen] = (array) $template;

        return $this;
    }
public function setTemplate ( $ template , string $ screen = 'page' ) : MetaboxInterface { $ this -> template [ $ screen ] = ( array ) $ template ; return $ this ; }
Set the metabox template.

@param array|string $template
@param string       $screen

@return MetaboxInterface
Set the metabox template .