public function create()
    {
        /**
         * @var Zone $zone
         */
        $classNamespace = $this->getEntityNamespace();
        $zone = new $classNamespace();
        $zone
            ->setLocations([])
            ->setEnabled(true)
            ->setCreatedAt($this->now());

        return $zone;
    }
public function create()
    {
        /**
         * @var Zone $zone
         */
        $classNamespace = $this->getEntityNamespace();
        $zone = new $classNamespace();
        $zone
            ->setLocations([])
            ->setEnabled(true)
            ->setCreatedAt($this->now());

        return $zone;
    }
public function create ( ) { /**
         * @var Zone $zone
         */ $ classNamespace = $ this -> getEntityNamespace ( ) ; $ zone = new $ classNamespace ( ) ; $ zone -> setLocations ( [ ] ) -> setEnabled ( true ) -> setCreatedAt ( $ this -> now ( ) ) ; return $ zone ; }
Creates an Zone instance.

@return Zone New Zone entity
Creates an Zone instance .