Completed
Push — develop ( d2080b...f8d06d )
by
unknown
23:14 queued 10:41
created

SkillCollectionFactory::createService()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
3
namespace Cv\Factory\Form;
4
5
use Zend\ServiceManager\FactoryInterface;
6
use Zend\ServiceManager\ServiceLocatorInterface;
7
8
class SkillCollectionFactory implements FactoryInterface
9
{
10
    
11
    /* (non-PHPdoc)
12
     * @see \Zend\ServiceManager\FactoryInterface::createService()
13
    */
14
    public function createService(ServiceLocatorInterface $serviceLocator)
15
    {
16
        $container = new \Core\Form\CollectionContainer('CvSkillForm', new \Cv\Entity\Skill());
17
        $container->setLabel(/*@translate */ 'Skills');
18
        
19
		return $container;
20
    }
21
}
22