PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 3.6.62
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v3.6.62
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Services / Spout / Reader / Common / ReaderOptions.php

ReaderOptions.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 3.6.62, at app/Services/Spout/Reader/Common/ReaderOptions.php

59 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Box\Spout\Reader\Common;
4
5 /**
6 * Class ReaderOptions
7 * Readers' common options
8 *
9 * @package Box\Spout\Reader\Common
10 */
11 class ReaderOptions
12 {
13 /** @var bool Whether date/time values should be returned as PHP objects or be formatted as strings */
14 protected $shouldFormatDates = false;
15
16 /** @var bool Whether empty rows should be returned or skipped */
17 protected $shouldPreserveEmptyRows = false;
18
19 /**
20 * @return bool Whether date/time values should be returned as PHP objects or be formatted as strings.
21 */
22 public function shouldFormatDates()
23 {
24 return $this->shouldFormatDates;
25 }
26
27 /**
28 * Sets whether date/time values should be returned as PHP objects or be formatted as strings.
29 *
30 * @param bool $shouldFormatDates
31 * @return ReaderOptions
32 */
33 public function setShouldFormatDates($shouldFormatDates)
34 {
35 $this->shouldFormatDates = $shouldFormatDates;
36 return $this;
37 }
38
39 /**
40 * @return bool Whether empty rows should be returned or skipped.
41 */
42 public function shouldPreserveEmptyRows()
43 {
44 return $this->shouldPreserveEmptyRows;
45 }
46
47 /**
48 * Sets whether empty rows should be returned or skipped.
49 *
50 * @param bool $shouldPreserveEmptyRows
51 * @return ReaderOptions
52 */
53 public function setShouldPreserveEmptyRows($shouldPreserveEmptyRows)
54 {
55 $this->shouldPreserveEmptyRows = $shouldPreserveEmptyRows;
56 return $this;
57 }
58 }
59