Ouzo\Tools\Model\Template\Generator::__construct PHP Method

__construct() public method

public __construct ( $tableName, $className = null, $nameSpace = '', $tablePrefix = 't', $shortArrays = false )
    public function __construct($tableName, $className = null, $nameSpace = '', $tablePrefix = 't', $shortArrays = false)
    {
        $this->tableName = $tableName;
        $this->className = $className;
        $this->namespace = $this->normalizeNameSpace($nameSpace);
        $this->tablePrefix = $tablePrefix;
        $this->adapter = $this->dialectAdapter();
        $this->dialectShortName = $this->getDialectShortName($this->adapter);
        $this->shortArrays = $shortArrays;
    }