PHP 인터페이스 LMongo\ConnectionResolverInterface

파일 보기 프로젝트 열기: navruzm/lmongo 0 사용 예제들

공개 메소드들

메소드 설명
connection ( string $name = null ) : LMongo\Connection Get a database connection instance.
getDefaultConnection ( ) : string Get the default connection name.

메소드 상세

connection() 공개 메소드

Get a database connection instance.
public connection ( string $name = null ) : LMongo\Connection
$name string
리턴 LMongo\Connection

getDefaultConnection() 공개 메소드

Get the default connection name.
public getDefaultConnection ( ) : string
리턴 string