Skip to content

Instantly share code, notes, and snippets.

View sokal32's full-sized avatar

Vitaly Shutko sokal32

  • Cherkassy, Ukraine
View GitHub Profile

UPGRADE FROM 1.10 to 2.0

####ActionBundle

  • Class Oro\Bundle\ActionBundle\Layout\Block\Type\ActionLineButtonsType was removed -> block type action_buttons replaced with DI configuration.
  • Added class Oro\Bundle\ActionBundle\Layout\DataProvider\ActionButtonsProvider - layout data provider.
  • Default value for parameter applications in operation configuration renamed from backend to default.

####WorkflowBundle

  • Class Oro\Bundle\WorkflowBundle\Model\WorkflowManager
@sokal32
sokal32 / shiter_vitalka.php
Last active August 29, 2015 14:18
shifter (Vitalka edition)
<?php
class Shifter
{
public function fromDto($domain, $dto)
{
$domainFiller = function($domainObject, $dto) {
$fetcher = function($object) {
$setter = function($name, $value) {
if (property_exists($this, $name)) {