Skip to content
Snippets Groups Projects
Select Git revision
  • a31b0078ee8990abf936e5de0d75ebcc41b7a7a5
  • master default protected
  • detached4
  • detached3
  • detached2
  • bsv-next
  • detached
  • php82
  • 6.x
  • 6.4.0
  • 6.3.3
  • 6.3.2
  • 6.3.1
  • 6.3.0
  • 6.2.7
  • 6.2.6
  • 6.2.5
  • 6.2.4
  • 6.2.3
  • 6.2.2
  • 6.2.1
  • 6.2.0
  • 6.1.3
  • 6.1.2
  • 6.1.1
  • 6.1.0
  • 6.0.0
27 results

unicaenVue.js

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    EntityServiceFactory.php 663 B
    <?php
    
    namespace <namespace>;
    
    use Application\Constants;
    use Zend\ServiceManager\ServiceLocatorInterface as ContainerInterface;
    use <targetFullClass>;
    
    
    
    /**
     * Description of <class>
     *
     * @author <author>
     */
    class <class>
    {
    
        /**
         * @param ContainerInterface $container
         * @param string             $requestedName
         * @param array|null         $options
         *
         * @return <targetClass>
         */
        public function __invoke(ContainerInterface $container, $requestedName, $options = null)
        {
            $<variable> = new <targetClass>;
            $<variable>->setEntityManager($container->get(Constants::BDD));
    
            return $<variable>;
        }
    }