Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phalcon
Test
Acl
Adapter
DatabaseTest
getConnection
Phalcon\Test\Acl\Adapter\DatabaseTest::getConnection PHP Method
DatabaseTest Class Documentation
Show file
Open project: phalcon/incubator
getConnection()
protected
method
protected
getConnection
( )
protected function getConnection() { return new Sqlite(['dbname' => 'tests/_output/sample.db']); }
DatabaseTest
_after
_before
assertProtectedPropertyEquals
getConnection
incorrectDbProvider
incorrectOptionsProvider
testShouldCreateAdapterInstance
testShouldThrowExceptionIfDbIsMissingOrInvalid
testShouldThrowExceptionWhenOptionsIsInvalid