-1

次のリンクに基づいて、カスタム userProvider を使用してカスタム ユーザー クラスを作成しました

ユーザー プロバイダーのサービスを作成できません。

$app->setParameter(
    'webservice_user_provider.class',
    'Tac\WebserviceUserBundle\Security\User\WebserviceUserProvider'
);
$app->setDefinition(
    'webservice_user_provider',
    new Definition('%webservice_user_provider.class%')
);

致命的なエラー: http://content.api.com/Users/davyd/Sites/content_api/src/boot.phpの 119 行目の未定義メソッド Silex\Application::setParameter() の呼び出し

4

1 に答える 1