File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ class Slide implements ComparableInterface, ShapeContainerInterface
86
86
* @var \PhpOffice\PhpPresentation\Slide\Transition
87
87
*/
88
88
private $ slideTransition ;
89
+
90
+ /**
91
+ *
92
+ * @var \PhpOffice\PhpPresentation\Slide\Animation
93
+ */
94
+ private $ animations = array ();
89
95
90
96
/**
91
97
* Hash index
@@ -540,4 +546,27 @@ public function setIsVisible($value = true)
540
546
$ this ->isVisible = (bool )$ value ;
541
547
return $ this ;
542
548
}
549
+
550
+ /**
551
+ * Add an animation to the slide
552
+ *
553
+ * @param \PhpOffice\PhpPresentation\Slide\Animation
554
+ * @return \PhpOffice\PhpPresentation\Slide\Animation
555
+ */
556
+ public function addAnimation ($ animation )
557
+ {
558
+ $ this ->animations [] = $ animation ;
559
+ return $ animation ;
560
+ }
561
+
562
+ /**
563
+ * Get collection of animations
564
+ *
565
+ * @return \PhpOffice\PhpPresentation\Slide\Animation
566
+ */
567
+
568
+ public function getAnimations ()
569
+ {
570
+ return $ this ->animations ;
571
+ }
543
572
}
You can’t perform that action at this time.
0 commit comments