@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at recaptime-dev/main 28 lines 445 B view raw
1<?php 2 3final class FuelGridCellView 4 extends FuelComponentView { 5 6 private $content; 7 8 public function setContent($content) { 9 $this->content = $content; 10 return $this; 11 } 12 13 public function getContent() { 14 return $this->content; 15 } 16 17 public function render() { 18 $content = $this->getContent(); 19 20 return $this->newComponentTag( 21 'div', 22 array( 23 'class' => 'fuel-grid-cell', 24 ), 25 $content); 26 } 27 28}