method

requirements=

requirements=(req)
public

Set requirements to req, ensuring it is an array. Don’t use this, push onto the array instead.