public function setTransition(Transition $transition = null) { $this->slideTransition = $transition; return $this; }