vim/filter

There is no license information available for the latest version (1.0.0) of this package.

Additional filters for zend framework 3

1.0.0 2018-01-21 13:16 UTC

README

Additional filters for Zend Framework 3.

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

composer require vim/filter

Example

<?php

return [
    'filters' => [
        \Vim\Filter\EmbeddableConstantFilter::class => [
            'options' => [
                'className' => Application\Entity\EmbeddableConstant\SomeEntityStatusEmbeddableConstant::class,
            ],
        ],
        \Vim\Filter\EntityByValueFilter::class => [
            'options' => [
                'entityRepository' => $this->entityManager->getRepository(\Application\Entity\SomeEntity::class),
                'searchFiledName' => 'identity',
            ],
        ],
    ],
];