*/ protected $shapeCollection = []; /** * @return Animation */ public function addShape(AbstractShape $shape) { $this->shapeCollection[] = $shape; return $this; } /** * @return array */ public function getShapeCollection(): array { return $this->shapeCollection; } /** * @param array $array * * @return Animation */ public function setShapeCollection(array $array = []) { $this->shapeCollection = $array; return $this; } }