class Book
{
public function bookFunction()
{
$page = new Page();
$page->validate($params);
}
}
class Page
{
public function validate($params)
{
$model = new Model();
$model->getParams($params)
}
}
class Model
{
public function getParams($params)
{
//DB::query...
}
}