Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
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 */ 26 public function __construct($caption = null, ?Layout $layout = null) 27 { 28 $this->caption = $caption; 29 $this->layout = $layout; 30 } 31 32 /** 33 * Get caption. 34 * 35 * @return string 36 */ 37 public function getCaption() 38 { 39 return $this->caption; 40 } 41 42 /** 43 * Set caption. 44 * 45 * @param string $caption 46 * 47 * @return $this 48 */ 49 public function setCaption($caption) 50 { 51 $this->caption = $caption; 52 53 return $this; 54 } 55 56 /** 57 * Get Layout. 58 * 59 * @return Layout 60 */ 61 public function getLayout() 62 { 63 return $this->layout; 64 } 65 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body