catchFields

You can use this method to get a specific field from update

For example user_id, it will give you the result if the update has it

Arguments
Name Type Description Required
field string See class BPT\constants\fields for possible value yes

Output : int | string | bool

Static or normal : Static

Examples :

request::catchFields('user_id');
request::catchFields(BPT\constants\fields::USER_ID);