PHP Class Sokil\Mongo\Collection\Definition

Exibir arquivo Open project: sokil/php-mongo Class Usage Examples

Public Methods

Method Description
__construct ( array $definition = null )
__get ( $name )
__set ( $name, $value )
getClass ( )
getExpressionClass ( ) : string Get fully qualified class name of expression for current collection instance
getMongoCollectionOptions ( )
getOption ( $name )
getOptions ( )
merge ( array $definition )
setClass ( $class )
setOption ( $name, $value )

Method Details

__construct() public method

public __construct ( array $definition = null )
$definition array

__get() public method

public __get ( $name )

__set() public method

public __set ( $name, $value )

getClass() public method

public getClass ( )

getExpressionClass() public method

Get fully qualified class name of expression for current collection instance
public getExpressionClass ( ) : string
return string

getMongoCollectionOptions() public method

getOption() public method

public getOption ( $name )

getOptions() public method

public getOptions ( )

merge() public method

public merge ( array $definition )
$definition array

setClass() public method

public setClass ( $class )

setOption() public method

public setOption ( $name, $value )