Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / view / formation / PHUIFormationResizerView.php
blobe0f66a1d7b9e3668a5ca6fb606a9a641051f8e08
1 <?php
3 final class PHUIFormationResizerView
4 extends PHUIFormationColumnView {
6 private $isVisible;
8 public function setIsVisible($is_visible) {
9 $this->isVisible = $is_visible;
10 return $this;
13 public function getIsVisible() {
14 return $this->isVisible;
17 public function getWidth() {
18 return 8;
21 public function render() {
22 $width = $this->getWidth();
23 $style = sprintf('width: %dpx;', $width);
25 return phutil_tag(
26 'div',
27 array(
28 'id' => $this->getID(),
29 'class' => 'phui-formation-resizer',
30 'style' => $style,
31 ));