This method is directly manipulating on the presumably existing $_POST values. To reduce the dependency on $_POST and make the method more usable, it might be better to pass required inputs as parameters.