1.4.0
版本发布时间: 2019-01-04 02:33:42
schmittjoh/JMSPaymentCoreBundle最新发布版本:1.4.1(2019-02-21 02:44:35)
Added
- Added support for Symfony 4
- Added service aliases for auto-wiring
Since services on Symfony 4 are private by default, instead of doing:
public function someAction($id)
{
$ppc = $this->container->get('payment.plugin_controller');
}
you should instead inject JMS\Payment\CoreBundle\PluginController\PluginController
into your controller actions:
use JMS\Payment\CoreBundle\PluginController\PluginController;
public function someAction($id, PluginController $ppc)
{
}
Changed
- Updated documentation to Symfony 4 directory structure
Removed
- Removed support for PHP versions earlier than 5.6.