public function resolve()
    {
        $this->zone = new $this->zoneClass();
        $this->zone->setZoneType($this->zoneType);
        $this->zone->setComponents(
            $this->components->buildRanking()
        );

        $this->assertEntityIsValid($this->zone, array('Zone', 'creation'));

        $this->fireEvent(
            ZoneEvents::ZONE_CREATED,
            new ZoneEvent($this->zone, $this)
        );

        return $this->zone;
    }
public function resolve()
    {
        $this->zone = new $this->zoneClass();
        $this->zone->setZoneType($this->zoneType);
        $this->zone->setComponents(
            $this->components->buildRanking()
        );

        $this->assertEntityIsValid($this->zone, array('Zone', 'creation'));

        $this->fireEvent(
            ZoneEvents::ZONE_CREATED,
            new ZoneEvent($this->zone, $this)
        );

        return $this->zone;
    }
public function resolve ( ) { $ this -> zone = new $ this -> zoneClass ( ) ; $ this -> zone -> setZoneType ( $ this -> zoneType ) ; $ this -> zone -> setComponents ( $ this -> components -> buildRanking ( ) ) ; $ this -> assertEntityIsValid ( $ this -> zone , array ( 'Zone' , 'creation' ) ) ; $ this -> fireEvent ( ZoneEvents :: ZONE_CREATED , new ZoneEvent ( $ this -> zone , $ this ) ) ; return $ this -> zone ; }
Zone creation method.

@return Zone
Zone creation method .