public function create()
    {
        /**
         * @var Vote $vote
         */
        $classNamespace = $this->getEntityNamespace();
        $vote = new $classNamespace();
        $vote->setCreatedAt($this->now());

        return $vote;
    }
public function create()
    {
        /**
         * @var Vote $vote
         */
        $classNamespace = $this->getEntityNamespace();
        $vote = new $classNamespace();
        $vote->setCreatedAt($this->now());

        return $vote;
    }
public function create ( ) { /**
         * @var Vote $vote
         */ $ classNamespace = $ this -> getEntityNamespace ( ) ; $ vote = new $ classNamespace ( ) ; $ vote -> setCreatedAt ( $ this -> now ( ) ) ; return $ vote ; }
Creates an instance of Vote.

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