addRule('execute', [ 'type' => self::TYPE_STRING, 'description' => 'Execution permissions.', 'default' => [], 'example' => 'user:5e5ea5c16897e', 'array' => true, ]) ; } /** * Get Name * * @return string */ public function getName():string { return 'FuncPermissions'; } /** * Get Collection * * @return string */ public function getType():string { return Response::MODEL_FUNC_PERMISSIONS; } }