public function create()
    {
        /**
         * @var Manufacturer $manufacturer
         */
        $classNamespace = $this->getEntityNamespace();
        $manufacturer = new $classNamespace();
        $manufacturer
            ->setImages(new ArrayCollection())
            ->setImagesSort('')
            ->setEnabled(true)
            ->setCreatedAt($this->now());

        return $manufacturer;
    }
public function create()
    {
        /**
         * @var Manufacturer $manufacturer
         */
        $classNamespace = $this->getEntityNamespace();
        $manufacturer = new $classNamespace();
        $manufacturer
            ->setImages(new ArrayCollection())
            ->setImagesSort('')
            ->setEnabled(true)
            ->setCreatedAt($this->now());

        return $manufacturer;
    }
public function create ( ) { /**
         * @var Manufacturer $manufacturer
         */ $ classNamespace = $ this -> getEntityNamespace ( ) ; $ manufacturer = new $ classNamespace ( ) ; $ manufacturer -> setImages ( new ArrayCollection ( ) ) -> setImagesSort ( '' ) -> setEnabled ( true ) -> setCreatedAt ( $ this -> now ( ) ) ; return $ manufacturer ; }
Creates an instance of Manufacturer.

@return Manufacturer New Manufacturer entity
Creates an instance of Manufacturer .