| 1 | <?php  | 
            ||
| 5 | class PolicyRule  | 
            ||
| 6 | { | 
            ||
| 7 | /** @var string **/  | 
            ||
| 8 | protected $name;  | 
            ||
| 9 | /** @var array<PolicyRuleAttribute> **/  | 
            ||
| 10 | protected $policyRuleAttributes;  | 
            ||
| 11 | |||
| 12 | 6 | public function __construct()  | 
            |
| 16 | |||
| 17 | 6 | public function setName(string $name): PolicyRule  | 
            |
| 23 | |||
| 24 | 2 | public function getName(): string  | 
            |
| 28 | |||
| 29 | 6 | public function addPolicyRuleAttribute(PolicyRuleAttribute $pra): PolicyRule  | 
            |
| 36 | |||
| 37 | 1 | public function removePolicyRuleAttribute(PolicyRuleAttribute $pra): PolicyRule  | 
            |
| 45 | |||
| 46 | 6 | public function getPolicyRuleAttributes(): array  | 
            |
| 50 | }  | 
            ||
| 51 |