Skip to content
Snippets Groups Projects
Select Git revision
  • 3118d29a7de099fa79a2f5a324bda9a993c7c260
  • master default protected
  • php84
  • detached4
  • detached5
  • detached3
  • detached
  • detached2
  • ll-php8-bs5
  • ll-php8
  • 4.x
  • 6.3.0
  • 6.2.5
  • 6.2.4
  • 6.2.3
  • 6.2.2
  • 6.2.1
  • 6.2.0
  • 6.1.0
  • 6.0.2
  • 6.0.1
  • 6.0.0
  • 5.0.3
  • 5.0.2
  • 5.0.1
  • 5.0
  • 4.2.1
  • 4.2
  • 4.1
  • 4.0
  • 3.0.2
31 results

ModuleOptions.php

Blame
  • Laurent Lécluse's avatar
    Laurent Lecluse authored
    6e1a737e
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ModuleOptions.php 1.17 KiB
    <?php
    
    namespace UnicaenTbl\Options;
    
    use Zend\Stdlib\AbstractOptions;
    
    
    /**
     * Description of ModuleOptions
     *
     * @author LECLUSE Laurent <laurent.lecluse at unicaen.fr>
     */
    class ModuleOptions extends AbstractOptions {
    
        /**
         * Turn off strict options mode
         */
        protected $__strictMode__ = false;
    
        /**
         * @var string
         */
        protected $package = 'UNICAEN_TBL';
    
        /**
         * @var string
         */
        protected $entityManagerName = 'doctrine.entitymanager.orm_default';
    
    
        /**
         * @return string
         */
        public function getPackage()
        {
            return $this->package;
        }
    
    
    
        /**
         * @param string $package
         *
         * @return ModuleOptions
         */
        public function setPackage($package)
        {
            $this->package = $package;
    
            return $this;
        }
    
    
    
        /**
         * @return string
         */
        public function getEntityManagerName()
        {
            return $this->entityManagerName;
        }
    
    
    
        /**
         * @param string $entityManagerName
         *
         * @return ModuleOptions
         */
        public function setEntityManagerName($entityManagerName)
        {
            $this->entityManagerName = $entityManagerName;
    
            return $this;
        }
    
    }