'card-body']);
$this->assembleBody($body);
return $body;
}
protected function createFooter()
{
$footer = Html::tag('div', ['class' => 'card-footer']);
$this->assembleFooter($footer);
return $footer;
}
protected function createHeader()
{
$header = Html::tag('div', ['class' => 'card-header']);
$this->assembleHeader($header);
return $header;
}
protected function assemble()
{
$this->addAttributes(['class' => 'card']);
$this->add([
$this->createHeader(),
$this->createBody(),
$this->createFooter()
]);
}
}