UserHydrator::__invoke()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
namespace LmcUser\Factory;
4
5
use Interop\Container\ContainerInterface;
6
use Laminas\ServiceManager\Factory\FactoryInterface;
7
8
/**
9
 * Class UserHydrator
10
 */
11
class UserHydrator implements FactoryInterface
12
{
13
    /**
14
     * {@inheritDoc}
15
     * @see \Laminas\ServiceManager\Factory\FactoryInterface::__invoke()
16
     */
17
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
18
    {
19
        return new \LmcUser\Mapper\UserHydrator($container->get('lmcuser_base_hydrator'));
20
    }
21
}
22