// line above is: $panel->setHeaderTag($count_tag);
if ($column->getProxyPHID()) {
$default_phid = $column->getProxyPHID();
} else {
$default_phid = $column->getProjectPHID();
}
$panel->addHeaderAction(id(new PHUIIconView())
->setIcon('fa-plus')
->setHref($this->getCreateURI())
->addSigil('column-add-task')
->setMetadata(
array(
'columnPHID' => $column->getPHID(),
'boardPHID' => $project->getPHID(),
'projectPHID' => $default_phid,
)));
// line below is: $cards = id(new PHUIObjectItemListView())