File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323use Attribute ;
2424
2525#[Attribute(Attribute::TARGET_METHOD )]
26- class AccessControl
26+ readonly class AccessControl
2727{
2828 /**
2929 * AccessControl constructor.
Original file line number Diff line number Diff line change 2323use Attribute ;
2424
2525#[Attribute(Attribute::TARGET_METHOD )]
26- class Action
26+ readonly class Action
2727{
2828 public function __construct (public string $ usage = '' , public string $ description = '' )
2929 {
Original file line number Diff line number Diff line change 2424use Feast \Date ;
2525
2626#[Attribute(Attribute::TARGET_PROPERTY )]
27- class JsonItem
27+ readonly class JsonItem
2828{
2929 /**
3030 * JsonItem constructor.
Original file line number Diff line number Diff line change 2323use Attribute ;
2424
2525#[Attribute(Attribute::TARGET_PARAMETER )]
26- class JsonParam
26+ readonly class JsonParam
2727{
2828 public function __construct (public string $ key = '' )
2929 {
Original file line number Diff line number Diff line change 2525use Feast \Terminal ;
2626
2727#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE )]
28- class Param
28+ readonly class Param
2929{
3030 public function __construct (
3131 public string $ type = '' ,
Original file line number Diff line number Diff line change 2424use Feast \Enums \RequestMethod ;
2525
2626#[Attribute(Attribute::TARGET_METHOD )]
27- class Path
27+ readonly class Path
2828{
2929 final public const METHOD_GET = 1 ;
3030 final public const METHOD_POST = 2 ;
You can’t perform that action at this time.
0 commit comments