protected function generateEntity()
    {
        $classname = ModelEntity::generateClassName($this->keyword);
        $namespace = Strata::getNamespace() . "\\Model\\Entity";
        $destination = implode(DIRECTORY_SEPARATOR, array("src", "Model", "Entity",  $classname . ".php"));

        $writer = $this->getWriter();
        $writer->setClassname($classname);
        $writer->setNamespace($namespace);
        $writer->setDestination($destination);
        $writer->setExtends("AppModelEntity");
        $writer->create();
    }
protected function generateEntity()
    {
        $classname = ModelEntity::generateClassName($this->keyword);
        $namespace = Strata::getNamespace() . "\\Model\\Entity";
        $destination = implode(DIRECTORY_SEPARATOR, array("src", "Model", "Entity",  $classname . ".php"));

        $writer = $this->getWriter();
        $writer->setClassname($classname);
        $writer->setNamespace($namespace);
        $writer->setDestination($destination);
        $writer->setExtends("AppModelEntity");
        $writer->create();
    }
protected function generateEntity ( ) { $ classname = ModelEntity :: generateClassName ( $ this -> keyword ) ; $ namespace = Strata :: getNamespace ( ) . "\\Model\\Entity" ; $ destination = implode ( DIRECTORY_SEPARATOR , array ( "src" , "Model" , "Entity" , $ classname . ".php" ) ) ; $ writer = $ this -> getWriter ( ) ; $ writer -> setClassname ( $ classname ) ; $ writer -> setNamespace ( $ namespace ) ; $ writer -> setDestination ( $ destination ) ; $ writer -> setExtends ( "AppModelEntity" ) ; $ writer -> create ( ) ; }
Configures the class writer and makes it generate the
accompanying model entity required by the object type.
Configures the class writer and makes it generate the accompanying model entity required by the object type .