mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-29 12:38:41 +00:00
41 lines
734 B
PHP
Executable File
41 lines
734 B
PHP
Executable File
<?php
|
|
namespace PhpOffice\PhpPresentation\Slide;
|
|
|
|
use PhpOffice\PhpPresentation\AbstractShape;
|
|
|
|
class Animation
|
|
{
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $shapeCollection = array();
|
|
|
|
/**
|
|
* @param AbstractShape $shape
|
|
* @return Animation
|
|
*/
|
|
public function addShape(AbstractShape $shape)
|
|
{
|
|
$this->shapeCollection[] = $shape;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function getShapeCollection()
|
|
{
|
|
return $this->shapeCollection;
|
|
}
|
|
|
|
/**
|
|
* @param array $array
|
|
* @return Animation
|
|
*/
|
|
public function setShapeCollection(array $array = array())
|
|
{
|
|
$this->shapeCollection = $array;
|
|
return $this;
|
|
}
|
|
}
|