Completed
Pull Request — master (#21)
by Daniel
03:53 queued 01:13
created

ActionMetadata::getOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Psi\Component\Grid\Metadata;
6
7
final class ActionMetadata
8
{
9
    private $name;
10
    private $type;
11
    private $options;
12
13
    public function __construct(
14
        string $name,
15
        string $type,
16
        array  $options
17
    ) {
18
        $this->name = $name;
19
        $this->type = $type;
20
        $this->options = $options;
21
    }
22
23
    public function getName(): string
24
    {
25
        return $this->name;
26
    }
27
28
    public function getType(): string
29
    {
30
        return $this->type;
31
    }
32
33
    public function getOptions()
34
    {
35
        return $this->options;
36
    }
37
}
38