質問 > フロント機能 > Processor改造時のRepositoryの使用方法につきまして[規格によらず在庫を増減させる] |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
umebius |
投稿日時: 2021/3/24 0:01
対応状況: −−−
|
神 登録日: 2016/7/22 居住地: 投稿: 2085 |
Re: Processor改造時のRepositoryの使用方法につきまして productRepositoryへの依存性注入は__constructならこんなふうに行うと良いですが、それはされていますか?
https://github.com/ec-cube/ec-cube/blob/4.0.5/src/Eccube/Twig/Extension/EccubeExtension.php#L46-L50 「use Eccube\Repository\ProductRepository;」も必要です。 https://github.com/ec-cube/ec-cube/blob/4.0.5/src/Eccube/Twig/Extension/EccubeExtension.php#L20
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
Processor改造時のRepositoryの使用方法につきまして[規格によらず在庫を増減させる] | takax3 | 2021/3/21 18:44 |
Re: Processor改造時のRepositoryの使用方法につきまして | takax3 | 2021/3/21 18:46 |
» Re: Processor改造時のRepositoryの使用方法につきまして | umebius | 2021/3/24 0:01 |
Re: Processor改造時のRepositoryの使用方法につきまして | takax3 | 2021/3/24 16:23 |