Total Complexity | 4 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class FileGeneratedEvent extends Event |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | public $filePath; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | public $stubName; |
||
29 | |||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | public $stubOptions; |
||
34 | |||
35 | /** |
||
36 | * FileGeneratedEvent constructor. |
||
37 | * @param string $filePath |
||
38 | * @param string $stubName |
||
39 | * @param array $stubOptions |
||
40 | */ |
||
41 | public function __construct(string $filePath, string $stubName, array $stubOptions) |
||
42 | { |
||
43 | $this->filePath = $filePath; |
||
44 | $this->stubName = $stubName; |
||
45 | $this->stubOptions = $stubOptions; |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getFilePath(): string |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getStubName(): string |
||
60 | { |
||
61 | return $this->stubName; |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @return array |
||
66 | */ |
||
67 | public function getStubOptions(): array |
||
70 | } |
||
71 | } |
||
72 |