public function create()
    {
        /**
         * @var Currency $currency
         */
        $classNamespace = $this->getEntityNamespace();
        $currency = new $classNamespace();
        $currency
            ->setEnabled(true)
            ->setCreatedAt($this->now());

        return $currency;
    }
public function create()
    {
        /**
         * @var Currency $currency
         */
        $classNamespace = $this->getEntityNamespace();
        $currency = new $classNamespace();
        $currency
            ->setEnabled(true)
            ->setCreatedAt($this->now());

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

@return Currency Empty entity
Creates an instance of Currency entity .