Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00%
1 / 1
100.00%
1 / 1
CRAP
100.00%
1 / 1
MobileDetectFactory
100.00%
1 / 1
100.00%
1 / 1
1
100.00%
1 / 1
 createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)
100.00%
1 / 1
1
100.00%
1 / 1
<?php
namespace Neilime\MobileDetect\Factory;
class MobileDetectFactory implements \Zend\ServiceManager\FactoryInterface{
/**
* @see \Zend\ServiceManager\FactoryInterface::createService()
* @param \Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator
* @return \Mobile_Detect
*/
public function createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator){
return new \Mobile_Detect();
}