lib/MwbExporter/Model/Table.php
public function writeTable(WriterInterface $writer)
    {
        if (!$this->isExternal()) {
            $this->getColumns()->write($writer);
            $this->getIndices()->write($writer);
            $this->getForeignKeys()->write($writer);

            return self::WRITE_OK;
        }

        return self::WRITE_EXTERNAL;
    }
public function writeTable(WriterInterface $writer)
    {
        if (!$this->isExternal()) {
            $this->getColumns()->write($writer);
            $this->getIndices()->write($writer);
            $this->getForeignKeys()->write($writer);

            return self::WRITE_OK;
        }

        return self::WRITE_EXTERNAL;
    }
public function writeTable ( WriterInterface $ writer ) { if ( ! $ this -> isExternal ( ) ) { $ this -> getColumns ( ) -> write ( $ writer ) ; $ this -> getIndices ( ) -> write ( $ writer ) ; $ this -> getForeignKeys ( ) -> write ( $ writer ) ; return self :: WRITE_OK ; } return self :: WRITE_EXTERNAL ; }
Write table entity as code.

@param \MwbExporter\Writer\WriterInterface $writer
@return string
Write table entity as code .