Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
1 <?php 2 3 namespace PhpOffice\PhpSpreadsheet\Chart; 4 5 class Title 6 { 7 /** 8 * Title Caption. 9 * 10 * @var string 11 */ 12 private $caption; 13 14 /** 15 * Title Layout. 16 * 17 * @var Layout 18 */ 19 private $layout; 20 21 /** 22 * Create a new Title. 23 * 24 * @param null|mixed $caption 25 * @param null|Layout $layout 26 */ 27 public function __construct($caption = null, Layout $layout = null) 28 { 29 $this->caption = $caption; 30 $this->layout = $layout; 31 } 32 33 /** 34 * Get caption. 35 * 36 * @return string 37 */ 38 public function getCaption() 39 { 40 return $this->caption; 41 } 42 43 /** 44 * Set caption. 45 * 46 * @param string $caption 47 * 48 * @return Title 49 */ 50 public function setCaption($caption) 51 { 52 $this->caption = $caption; 53 54 return $this; 55 } 56 57 /** 58 * Get Layout. 59 * 60 * @return Layout 61 */ 62 public function getLayout() 63 { 64 return $this->layout; 65 } 66 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body