Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
f000dff4
Commit
f000dff4
authored
Nov 21, 2018
by
Viral Solani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolve issues by larastan
parent
c7cb8871
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
3 deletions
+40
-3
InstallAppCommand.php
app/Console/Commands/InstallAppCommand.php
+40
-3
No files found.
app/Console/Commands/InstallAppCommand.php
View file @
f000dff4
...
...
@@ -10,6 +10,7 @@ use Illuminate\Support\Facades\File;
use
PDOException
;
use
Symfony\Component\Console\Helper\SymfonyQuestionHelper
;
use
Symfony\Component\Console\Question\Question
;
use
Exception
;
/**
* Class InstallAppCommand.
...
...
@@ -39,6 +40,36 @@ class InstallAppCommand extends Command
*/
protected
$files
;
/**
* host for the database
*
*/
protected
$host
;
/**
* port for the database
*
*/
protected
$port
;
/**
* Database name
*
*/
protected
$database
;
/**
* Username of database
*
*/
protected
$username
;
/**
* Password for the Database.
*
*/
protected
$password
;
/**
* InstallAppCommand constructor.
*
...
...
@@ -210,7 +241,9 @@ class InstallAppCommand extends Command
}
/**
* @param $database
* Create the Database
*
* @param Object $database
*/
protected
function
createDatabase
(
$database
)
{
...
...
@@ -237,7 +270,9 @@ class InstallAppCommand extends Command
}
/**
* @param $database
* Dump the DB
*
* @param Object $database
*/
protected
function
dumpDB
(
$database
)
{
...
...
@@ -258,7 +293,9 @@ class InstallAppCommand extends Command
}
/**
* @param $database
* Migrate Tables
*
* @param Object $database
*/
protected
function
migrateTables
(
$database
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment