1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
<?php namespace Scene7\Commands\Layer; trait Rotate { public function setRotate($angle) { $this->addCommand(['rotate' => (float) $angle]); return $this; } }