src/Repository/ZoneRepository.php
protected function createZoneMemberZoneFromDefinition(array $definition)
    {
        $zone = $this->get($definition['zone']);
        $zoneMember = new ZoneMemberZone();
        $zoneMember->setZone($zone);
        $setValues = \Closure::bind(function ($definition) {
            $this->id = $definition['id'];
        }, $zoneMember, '\CommerceGuys\Zone\Model\ZoneMemberZone');
        $setValues($definition);

        return $zoneMember;
    }
protected function createZoneMemberZoneFromDefinition(array $definition)
    {
        $zone = $this->get($definition['zone']);
        $zoneMember = new ZoneMemberZone();
        $zoneMember->setZone($zone);
        $setValues = \Closure::bind(function ($definition) {
            $this->id = $definition['id'];
        }, $zoneMember, '\CommerceGuys\Zone\Model\ZoneMemberZone');
        $setValues($definition);

        return $zoneMember;
    }
protected function createZoneMemberZoneFromDefinition ( array $ definition ) { $ zone = $ this -> get ( $ definition [ 'zone' ] ) ; $ zoneMember = new ZoneMemberZone ( ) ; $ zoneMember -> setZone ( $ zone ) ; $ setValues = \ Closure :: bind ( function ( $ definition ) { $ this -> id = $ definition [ 'id' ] ; } , $ zoneMember , '\CommerceGuys\Zone\Model\ZoneMemberZone' ) ; $ setValues ( $ definition ) ; return $ zoneMember ; }
Creates a ZoneMemberZone instance from the provided definition.

@param array $definition The zone member definition.

@return ZoneMemberZone
Creates a ZoneMemberZone instance from the provided definition .