setContainer() публичный Метод

Set Container, Slide or Group
public setContainer ( PhpOffice\PhpPresentation\ShapeContainerInterface $pValue = null, boolean $pOverrideOld = false ) : self
$pValue PhpOffice\PhpPresentation\ShapeContainerInterface
$pOverrideOld boolean If a Slide has already been assigned, overwrite it and remove image from old Slide?
Результат self
Пример #1
0
 /**
  * Add shape to slide
  *
  * @param  \PhpOffice\PhpPresentation\AbstractShape $shape
  * @return \PhpOffice\PhpPresentation\AbstractShape
  */
 public function addShape(AbstractShape $shape)
 {
     $shape->setContainer($this);
     return $shape;
 }