BooleanObject   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 21
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
/**
5
 * BooleanObject class.
6
 *
7
 * @package   YetiForcePDF\Objects\Basic
8
 *
9
 * @copyright YetiForce Sp. z o.o
10
 * @license   MIT
11
 * @author    Rafal Pospiech <[email protected]>
12
 */
13
14
namespace YetiForcePDF\Objects\Basic;
15
16
/**
17
 * Class BooleanObject.
18
 */
19
class BooleanObject extends \YetiForcePDF\Objects\PdfObject
20
{
21
	/**
22
	 * Basic object type (integer, string, boolean, dictionary etc..).
23
	 *
24
	 * @var string
25
	 */
26
	protected $basicType = 'Boolean';
27
	/**
28
	 * Object name.
29
	 *
30
	 * @var string
31
	 */
32
	protected $name = 'Boolean';
33
34
	/**
35
	 * {@inheritdoc}
36
	 */
37
	public function render(): string
38
	{
39
		return '';
40
	}
41
}
42