【发布时间】:2014-08-10 01:22:45
【问题描述】:
我在我的项目中使用 google-api-php-client 库。我正在使用 Composer 在我的项目中自动加载库。其他类(即:Google_Client)工作正常。当我去实例化一个对象时,per the Google documentation,我得到以下错误:
Fatal error: Class 'Google_DriveFile' not found
这是导致错误的行:
$file = new Google_DriveFile();
【问题讨论】:
标签: php google-api google-api-php-client google-drive-api