<?php

namespace Heystack\Ecommerce\Zone\Traits;

use Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface;

/**
 * Class HasZoneServiceTrait
 * @package Heystack\Ecommerce\Zone\Traits
 */
trait HasZoneServiceTrait
{
    /**
     * @var \Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface
     */
    protected $zoneService;

    /**
     * @param \Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface $localService
     */
    public function setZoneService(ZoneServiceInterface $localService)
    {
        $this->zoneService = $localService;
    }

    /**
     * @return \Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface
     */
    public function getZoneService()
    {
        return $this->zoneService;
    }
}
<?php

namespace Heystack\Ecommerce\Locale\Traits;

use Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface;

/**
 * Class HasZoneServiceTrait
 * @package Heystack\Ecommerce\Locale\Traits
 */
trait HasZoneServiceTrait
{
    /**
     * @var \Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface
     */
    protected $zoneService;

    /**
     * @param \Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface $localService
     */
    public function setZoneService(ZoneServiceInterface $localService)
    {
        $this->zoneService = $localService;
    }

    /**
     * @return \Heystack\Ecommerce\Locale\Interfaces\ZoneServiceInterface
     */
    public function getZoneService()
    {
        return $this->zoneService;
    }
}
Correct namespace zone service trait
Correct namespace zone service trait
