Download the PHP package havvg/propel-uniquekey-instancepooling-behavior without Composer
On this page you can find all versions of the php package havvg/propel-uniquekey-instancepooling-behavior. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download havvg/propel-uniquekey-instancepooling-behavior
More information about havvg/propel-uniquekey-instancepooling-behavior
Files in havvg/propel-uniquekey-instancepooling-behavior
Download havvg/propel-uniquekey-instancepooling-behavior
More information about havvg/propel-uniquekey-instancepooling-behavior
Files in havvg/propel-uniquekey-instancepooling-behavior
Vendor havvg
Package propel-uniquekey-instancepooling-behavior
Short Description The UniqueKeyInstancePoolingBehaviors adds additional instance pooling to findOne query methods operating on unique keys.
License MIT
Package propel-uniquekey-instancepooling-behavior
Short Description The UniqueKeyInstancePoolingBehaviors adds additional instance pooling to findOne query methods operating on unique keys.
License MIT
Please rate this library. Is it a good library?
Informations about the package propel-uniquekey-instancepooling-behavior
UniqueKeyInstancePoolingBehavior
See the Propel documentation on how to install a third party behavior
Usage
Just add the following XML tag in your schema.xml
file:
For example:
The behavior will add two methods for each unique key:
-
A static key generator; from the example this would be
createUniquePoolingKeyForEmail
. This method returns the key used when accessing the instances pool. - The
findOneByEmail
method will be actually implemented. This method wraps the original method around instance pooling.
All versions of propel-uniquekey-instancepooling-behavior with dependencies
PHP Build Version
Package Version
Requires
propel/propel1 Version
>=1.6.4
The package havvg/propel-uniquekey-instancepooling-behavior contains the following files
Loading the files please wait ....