ModuleOptions.php 2.04 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

namespace UnicaenImport\Options;

use Zend\Stdlib\AbstractOptions;
use Zend\Stdlib\ArrayUtils;

class ModuleOptions extends AbstractOptions
{
    /**
     * Turn off strict options mode
     */
    protected $__strictMode__ = false;

    /**
     * @var string
     */
    protected $package = 'UNICAEN_IMPORT';

    /**
     * @var array
     */
    protected $differentielViewHelpers = [];

Laurent Lécluse's avatar
Laurent Lécluse committed
25
26
27
28
29
    /**
     * @var array
     */
    protected $entitySourceInjector;

30
31
32
33
34
    /**
     * @var string 
     */
    protected $jsAceUrl = '/vendor/unicaen/import/ace-builds-master/src-min/ace.js';

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82


    /**
     * @return string
     */
    public function getPackage()
    {
        return $this->package;
    }



    /**
     * @param string $package
     *
     * @return ModuleOptions
     */
    public function setPackage($package)
    {
        $this->package = $package;

        return $this;
    }



    /**
     * @return array
     */
    public function getDifferentielViewHelpers()
    {
        return $this->differentielViewHelpers;
    }



    /**
     * @param array $differentielViewHelpers
     *
     * @return ModuleOptions
     */
    public function setDifferentielViewHelpers($differentielViewHelpers)
    {
        $this->differentielViewHelpers = $differentielViewHelpers;

        return $this;
    }

Laurent Lécluse's avatar
Laurent Lécluse committed
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105


    /**
     * @return string
     */
    public function getEntitySourceInjector()
    {
        return $this->entitySourceInjector;
    }



    /**
     * @param string $entitySourceInjector
     *
     * @return ModuleOptions
     */
    public function setEntitySourceInjector($entitySourceInjector)
    {
        $this->entitySourceInjector = $entitySourceInjector;

        return $this;
    }
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130



    /**
     * @return string
     */
    public function getJsAceUrl(): string
    {
        return $this->jsAceUrl;
    }



    /**
     * @param string $jsAceUrl
     *
     * @return ModuleOptions
     */
    public function setJsAceUrl(string $jsAceUrl): ModuleOptions
    {
        $this->jsAceUrl = $jsAceUrl;

        return $this;
    }
    
131
}