require_once en classe php

public function __construct((IDb)$Db) {
    $this->db=$Db;
}
Kevin