【发布时间】:2021-12-03 20:49:19
【问题描述】:
我正在研究一个使用 PHP 和 Laravel 的小想法,我想删除端点密钥。如果存在。
array:2 [▼
"multiple" => array:2 [▼
0 => array:5 [▼
"label" => "EDIT"
"key" => "edit"
"method" => "GET"
"icon" => "EDITICON"
"endpoint" => "settings.attributes.edit"
]
1 => array:5 [▼
"label" => "Delete"
"key" => "edit"
"method" => "DELETE"
"icon" => "DELETEICON"
"endpoint" => "settings.attributes.delete"
]
]
"bulk" => array:1 [▼
0 => array:4 [▼
"label" => "DELETE"
"method" => "PUT"
"type" => "DELETE"
"endpoint" => "settings.attributes.delete"
]
]
]
【问题讨论】:
-
还有...?什么不工作?
-
为了更灵活,请查看下面我的回答。
标签: php