protected function generateTaxonomy()
    {
        $namespace = Strata::getNamespace() . "\\Model\\Taxonomy";
        $destination = implode(DIRECTORY_SEPARATOR, array("src", "Model", "Taxonomy", "{$this->classname}.php"));

        $writer = $this->getWriter();
        $writer->setClassname($this->classname);
        $writer->setNamespace($namespace);
        $writer->setDestination($destination);
        $writer->setUses("\nuse Strata\Model\Taxonomy\Taxonomy as StrataTaxonomy;\n");
        $writer->setExtends("StrataTaxonomy");
        $writer->create();
    }
protected function generateTaxonomy()
    {
        $namespace = Strata::getNamespace() . "\\Model\\Taxonomy";
        $destination = implode(DIRECTORY_SEPARATOR, array("src", "Model", "Taxonomy", "{$this->classname}.php"));

        $writer = $this->getWriter();
        $writer->setClassname($this->classname);
        $writer->setNamespace($namespace);
        $writer->setDestination($destination);
        $writer->setUses("\nuse Strata\Model\Taxonomy\Taxonomy as StrataTaxonomy;\n");
        $writer->setExtends("StrataTaxonomy");
        $writer->create();
    }
protected function generateTaxonomy ( ) { $ namespace = Strata :: getNamespace ( ) . "\\Model\\Taxonomy" ; $ destination = implode ( DIRECTORY_SEPARATOR , array ( "src" , "Model" , "Taxonomy" , "{$this->classname}.php" ) ) ; $ writer = $ this -> getWriter ( ) ; $ writer -> setClassname ( $ this -> classname ) ; $ writer -> setNamespace ( $ namespace ) ; $ writer -> setDestination ( $ destination ) ; $ writer -> setUses ( "\nuse Strata\Model\Taxonomy\Taxonomy as StrataTaxonomy;\n" ) ; $ writer -> setExtends ( "StrataTaxonomy" ) ; $ writer -> create ( ) ; }
Configures the class writer and makes it generate the
classes required by the object type.
Configures the class writer and makes it generate the classes required by the object type .