1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
<?php namespace Scene7\Commands\Layer; trait Hide { public function setHide($hide) { $this->addCommand(['hide' => (int) (bool) $hide]); return $this; } }