Download the PHP package plumphp/plum-doctrine without Composer
On this page you can find all versions of the php package plumphp/plum-doctrine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download plumphp/plum-doctrine
More information about plumphp/plum-doctrine
Files in plumphp/plum-doctrine
Package plum-doctrine
Short Description PlumDoctrine integrates Doctrine into Plum. Plum is a data processing pipeline for PHP.
License MIT
Informations about the package plum-doctrine
PlumDate integrates Doctrine into Plum. Plum is a data processing pipeline for PHP.
PlumDate integrates Doctrine into Plum. Plum is a data processing pipeline for PHP.
Developed by Florian Eckerstorfer in Vienna, Europe.
Installation
You can install PlumDoctrine using Composer.
Usage
Please refer to the Plum documentation for more information.
Doctrine ORM
EntityWriterQueryReaderRepositoryReader
EntityWriter for Doctrine ORM
Plum\PlumDoctrine\ORM\EntityWriter persists entities using an instance of Doctrine\ORM\EntityManagerInterface. It
supports batch operations with a configurable flush interval.
If you are persisting too many entities for one flush at the end you can set the flushInterval option to flush after
writing every x entities.
Setting the flushInverval option to null, which is also the default value, flushes the transaction only when
calling finish(). If no items are written using writeItem() the writer will never call flush().
QueryReader for Doctrine ORM
Plum\PlumDoctrine\ORM\QueryReader takes an instance of Doctrine\ORM\AbstractQuery and returns an iterator for the
result.
The hydration mode can be set using the hydrationMode option.
RepositoryReader for Doctrine ORM
Plum\PlumDoctrine\ORM\RepositoryReader takes a Doctrine\ORM\EntityRepository and a
simple condition
and returns an iterator with the results.
Change Log
Version 0.1 (24 October 2015)
- Initial release
License
The MIT license applies to plumphp/plum-doctrine. For the full copyright and license information, please view the LICENSE file distributed with this source code.

