PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.4.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.4.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
visualizer / vendor / phpoffice / phpspreadsheet / src / PhpSpreadsheet / Chart / Title.php

Title.php in Visualizer – Tables & Charts Manager with Built-in AI Generator 3.4.7, at vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Title.php

67 lines 1002 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 }
67