public function getForeigns($foreign) { foreach ($foreign as $k => $v) { if ($this->confirm("Foi encontrado um relacionamento com a tablea => {$v->REFERENCED_TABLE_NAME} , voce gostaria de criar? [y|N]")) { $nome_classe = $this->ask('Qual nome do Método?'); $this->compileRelations .= Tables::compileRelations($v, $nome_classe, $this->project->name_space_projeto); } } }