/** * Adds "github" to the box HTML class attribute * @return array */ public function populateBoxTemplate($data) { return parent::populateBoxTemplate($data) + array('class' => $data['class'] . ' github'); }