We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entityのカスタマイズ に記載の方法で Entity 拡張が可能であるが、Customize ディレクトリで拡張した場合に解除ができない。 プラグインの場合は「無効化 -> アンインストール(ファイルの削除)」の手順で削除しているので問題は発生していないが、Customize ディレクトリは無効化処理が用意されていない。 Trait を先に削除してしまうと bin/console eccube:generate:proxies コマンドで Trait が読み込めないと怒られてしまうので、手動でproxyファイルとキャッシュを削除する必要がある。
bin/console eccube:generate:proxies
例えば以下のように無効化する Trait を指定できるようにしてはどうか。
bin/console eccube:generate:proxies --exclude=Customize\Entity\CustomerTrait
実装を確認してみたが、修正範囲が大きそうなため手が出しにくい。。。
#2267
The text was updated successfully, but these errors were encountered:
No branches or pull requests
概要(Overview)
Entityのカスタマイズ に記載の方法で Entity 拡張が可能であるが、Customize ディレクトリで拡張した場合に解除ができない。
プラグインの場合は「無効化 -> アンインストール(ファイルの削除)」の手順で削除しているので問題は発生していないが、Customize ディレクトリは無効化処理が用意されていない。
Trait を先に削除してしまうと
bin/console eccube:generate:proxies
コマンドで Trait が読み込めないと怒られてしまうので、手動でproxyファイルとキャッシュを削除する必要がある。期待する内容(Expect) or 要望 (Requirement)
例えば以下のように無効化する Trait を指定できるようにしてはどうか。
bin/console eccube:generate:proxies --exclude=Customize\Entity\CustomerTrait
実装を確認してみたが、修正範囲が大きそうなため手が出しにくい。。。
再現手順(Procedure)
bin/console eccube:generate:proxies
を実行bin/console eccube:generate:proxies
を実行環境 (environment)
関連情報 (Ref)
#2267
The text was updated successfully, but these errors were encountered: