Add PoliciesConfiguration to handle server policies
This commit is contained in:
parent
76abbdcb3e
commit
b60b12f9ae
2 changed files with 46 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Socialbox\Classes\Configuration;
|
||||
|
||||
class PoliciesConfiguration
|
||||
{
|
||||
private int $maxSigningKeys;
|
||||
|
||||
public function __construct(array $data)
|
||||
{
|
||||
$this->maxSigningKeys = $data['max_signing_keys'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxSigningKeys(): int
|
||||
{
|
||||
return $this->maxSigningKeys;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue