Hi,

I dound the solution myself. Should have thought about it some more minutes:

    public function getServiceConfig()
    {
        return array(
                'User\Entity\UserFilter' =>  function($sm) {
                    $dbAdapter = $sm->get('Zend\Db\Adapter\Adapter');
                    $filter    = new UserFilter($dbAdapter);
                    return $filter;
                },
            ),
        );
    }

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to