class CreateCollectionEventArgs extends EventArgs (View source)

Event args for creating a collection.

Methods

__construct(object $invoker, string $name, boolean|array $cappedOrOptions, integer $size = 0, integer $max = 0)

Constructor.

object
getInvoker()

No description

string
getName()

No description

array|bool
getOptions()

No description

mixed
getCapped() deprecated

No description

mixed
getSize() deprecated

No description

mixed
getMax() deprecated

No description

Details

__construct(object $invoker, string $name, boolean|array $cappedOrOptions, integer $size = 0, integer $max = 0)

Constructor.

Parameters

object $invoker
string $name
boolean|array $cappedOrOptions
integer $size
integer $max

object getInvoker()

Return Value

object

string getName()

Return Value

string

array|bool getOptions()

Return Value

array|bool

mixed getCapped() deprecated

deprecated 1.1 Replaced by options; will be removed for 2.0

Return Value

mixed

mixed getSize() deprecated

deprecated 1.1 Replaced by options; will be removed for 2.0

Return Value

mixed

mixed getMax() deprecated

deprecated 1.1 Replaced by options; will be removed for 2.0

Return Value

mixed