Skip to content

Commit 5b7481e

Browse files
authored
Merge pull request #1529 from keboola/pepa/PAT-402_backendConfig
feat: Make BackendConfiguration properties accessible from outside
2 parents 7edfdc4 + 02bfe36 commit 5b7481e

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

src/Keboola/StorageApi/Options/BackendConfiguration.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,10 @@
66

77
class BackendConfiguration
88
{
9-
private ?string $context;
10-
11-
private ?string $size;
12-
139
public function __construct(
14-
?string $context = null,
15-
?string $size = null
10+
public readonly ?string $context = null,
11+
public readonly ?string $size = null
1612
) {
17-
$this->context = $context;
18-
$this->size = $size;
1913
}
2014

2115
/**

0 commit comments

Comments
 (0)