Skip to content

Commit

Permalink
🐛 #58 correção nome do arquivo controlles API
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Apr 14, 2019
1 parent 871b87e commit 7c95705
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions classes/CreateApiControllesFiles.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class CreateApiControllesFiles extends TCreateFileContent

public function __construct($pathFolder ,$tableName ,$listColumnsProperties, $tableType)
{
$tableName = strtolower($tableName);
$this->setTableName(ucfirst($tableName));
$tableName = ucfirst( strtolower($tableName) );
$this->setTableName($tableName);
$this->setTableType( strtoupper($tableType) );
$this->setFileName($tableName.'API.class.php');
$this->setFilePath($pathFolder);
Expand All @@ -31,7 +31,6 @@ public function __construct($pathFolder ,$tableName ,$listColumnsProperties, $ta
//-----------------------------------------------------------------------------------
public function setTableName($strTableName)
{
$strTableName = strtolower($strTableName);
$this->tableName=$strTableName;
}
public function getTableName()
Expand Down

0 comments on commit 7c95705

Please sign in to comment.