I building a website in php where I'll have to make User, Case & Task classes, each of which going to have couple of methods. In my index.php I'll need to do some CRUD operation that I've wrote in my classes. So which is better to call a method and send parameters to like Case::update(2)
or its better to instantiate the class first then call a method like
$case = new Case();
$case->update(2);