public function run() { if (!isset($this->resources['db'])) { throw new DatabaseFetcher('db', $this); } }