public function insertif($template, array $data = [], array $only = null)
    {
        return $this->engine->find($template) ? $this->insert($template, $data, $only) : '';
    }
public function insertif($template, array $data = [], array $only = null)
    {
        return $this->engine->find($template) ? $this->insert($template, $data, $only) : '';
    }
public function insertif ( $ template , array $ data = [ ] , array $ only = null ) { return $ this -> engine -> find ( $ template ) ? $ this -> insert ( $ template , $ data , $ only ) : '' ; }
Insert a partial only if exists.

@param  string $template
@param  array  $data
@param  array  $only
@return string
Insert a partial only if exists .