BEdita API doc | 4-cactus
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Download

Namespaces

  • BEdita
    • API
      • Auth
      • Controller
        • Admin
        • Component
        • Model
      • Error
      • Event
      • Exception
      • Middleware
      • Model
        • Action
      • Network
        • Exception
      • Shell
      • TestSuite
      • Utility
    • Core
      • Configure
        • Engine
      • Database
        • Type
      • Exception
      • Filesystem
        • Adapter
        • Exception
        • Thumbnail
      • I18n
      • Job
        • Service
      • Mailer
        • Preview
        • Transport
      • Model
        • Action
        • Behavior
        • Entity
        • Table
        • Validation
      • ORM
        • Inheritance
        • Locator
        • Rule
      • Shell
        • Task
      • State
      • TestSuite
        • Fixture
      • Utility

Classes

  • CheckApiKeyTask
  • CheckFilesystemTask
  • CheckSchemaTask
  • CheckTreeTask
  • InitSchemaTask
  • RecoverTreeTask
  • SetupAdminUserTask
  • SetupConnectionTask

Class SetupConnectionTask

Task to setup connection.

Cake\Console\Shell
Extended by BEdita\Core\Shell\Task\SetupConnectionTask
Namespace: BEdita\Core\Shell\Task
Since: 4.0.0
Located at Core/src/Shell/Task/SetupConnectionTask.php

Methods summary

public
# getOptionParser( )

Codecoverageignore

public
# main( )

Configure connection.

Configure connection.

protected boolean
# isConnectionConfigured( Cake\Database\Connection $connection )

Check if a connection has been properly configured.

Check if a connection has been properly configured.

Parameters

$connection
Connection instance.

Returns

boolean
protected
# checkCanConnect( Cake\Database\Connection $connection )

Check if a connection is able to connect.

Check if a connection is able to connect.

Parameters

$connection
Connection instance.
protected Cake\Database\Connection
# readConnectionParams( Cake\Database\Connection $connection )

Read connection parameters from interactive input.

Read connection parameters from interactive input.

Parameters

$connection
Connection instance.

Returns

Cake\Database\Connection
protected
# saveConnectionConfig( Cake\Database\Connection $connection )

Save new connection configuration to file.

Save new connection configuration to file.

Parameters

$connection
Connection instance.
BEdita API doc | 4-cactus API documentation generated by ApiGen