Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

services-1.0.xsd

Zuletzt modifiziert: 02.04.2025, 15:04 - Dateigröße: 11.57 KiB


001  <?xml version="1.0" encoding="UTF-8" ?>
002   
003  <xsd:schema xmlns="http://symfony.com/schema/dic/services"
004       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
005       targetNamespace="http://symfony.com/schema/dic/services"
006       elementFormDefault="qualified">
007   
008    <xsd:annotation>
009      <xsd:documentation><![CDATA[
010        Symfony XML Services Schema, version 1.0
011        Authors: Fabien Potencier
012   
013        This defines a way to describe PHP objects (services) and their
014        dependencies.
015      ]]></xsd:documentation>
016    </xsd:annotation>
017   
018    <xsd:element name="container" type="container" />
019   
020    <xsd:complexType name="container">
021      <xsd:annotation>
022        <xsd:documentation><![CDATA[
023          The root element of a service file.
024        ]]></xsd:documentation>
025      </xsd:annotation>
026      <xsd:sequence>
027        <xsd:group ref="foreign" />
028        <xsd:sequence minOccurs="0">
029          <xsd:element name="imports" type="imports" />
030          <xsd:group ref="foreign" />
031        </xsd:sequence>
032        <xsd:sequence minOccurs="0">
033          <xsd:element name="parameters" type="parameters" />
034          <xsd:group ref="foreign" />
035        </xsd:sequence>
036        <xsd:sequence minOccurs="0">
037          <xsd:element name="services" type="services" />
038          <xsd:group ref="foreign" />
039        </xsd:sequence>
040      </xsd:sequence>
041    </xsd:complexType>
042   
043    <xsd:group name="foreign">
044      <xsd:sequence>
045        <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
046      </xsd:sequence>
047    </xsd:group>
048   
049    <xsd:complexType name="services">
050      <xsd:annotation>
051        <xsd:documentation><![CDATA[
052          Enclosing element for the definition of all services
053        ]]></xsd:documentation>
054      </xsd:annotation>
055      <xsd:choice maxOccurs="unbounded">
056        <xsd:element name="service" type="service" minOccurs="1" />
057        <xsd:element name="prototype" type="prototype" minOccurs="0" />
058        <xsd:element name="defaults" type="defaults" minOccurs="0" maxOccurs="1" />
059        <xsd:element name="instanceof" type="instanceof" minOccurs="0" />
060      </xsd:choice>
061    </xsd:complexType>
062   
063    <xsd:complexType name="imports">
064      <xsd:annotation>
065        <xsd:documentation><![CDATA[
066          Enclosing element for the import elements
067        ]]></xsd:documentation>
068      </xsd:annotation>
069      <xsd:choice minOccurs="1" maxOccurs="unbounded">
070        <xsd:element name="import" type="import" />
071      </xsd:choice>
072    </xsd:complexType>
073   
074    <xsd:complexType name="import">
075      <xsd:annotation>
076        <xsd:documentation><![CDATA[
077          Import an external resource defining other services or parameters
078        ]]></xsd:documentation>
079      </xsd:annotation>
080      <xsd:attribute name="resource" type="xsd:string" use="required" />
081      <xsd:attribute name="ignore-errors" type="boolean" />
082      <xsd:attribute name="type" type="xsd:string" />
083    </xsd:complexType>
084   
085    <xsd:complexType name="callable">
086      <xsd:choice minOccurs="0" maxOccurs="1">
087        <xsd:element name="service" type="service" minOccurs="0" maxOccurs="1" />
088      </xsd:choice>
089      <xsd:attribute name="service" type="xsd:string" />
090      <xsd:attribute name="class" type="xsd:string" />
091      <xsd:attribute name="method" type="xsd:string" />
092      <xsd:attribute name="function" type="xsd:string" />
093    </xsd:complexType>
094   
095    <xsd:complexType name="defaults">
096      <xsd:annotation>
097        <xsd:documentation><![CDATA[
098          Enclosing element for the service definitions' defaults for the current file
099        ]]></xsd:documentation>
100      </xsd:annotation>
101      <xsd:choice maxOccurs="unbounded">
102        <xsd:element name="tag" type="tag" minOccurs="0" maxOccurs="unbounded" />
103        <xsd:element name="bind" type="bind" minOccurs="0" maxOccurs="unbounded" />
104      </xsd:choice>
105      <xsd:attribute name="public" type="boolean" />
106      <xsd:attribute name="autowire" type="boolean" />
107      <xsd:attribute name="autoconfigure" type="boolean" />
108    </xsd:complexType>
109   
110    <xsd:complexType name="service">
111      <xsd:choice maxOccurs="unbounded">
112        <xsd:element name="file" type="xsd:string" minOccurs="0" maxOccurs="1" />
113        <xsd:element name="argument" type="argument" minOccurs="0" maxOccurs="unbounded" />
114        <xsd:element name="configurator" type="callable" minOccurs="0" maxOccurs="1" />
115        <xsd:element name="factory" type="callable" minOccurs="0" maxOccurs="1" />
116        <xsd:element name="deprecated" type="xsd:string" minOccurs="0" maxOccurs="1" />
117        <xsd:element name="call" type="call" minOccurs="0" maxOccurs="unbounded" />
118        <xsd:element name="tag" type="tag" minOccurs="0" maxOccurs="unbounded" />
119        <xsd:element name="property" type="property" minOccurs="0" maxOccurs="unbounded" />
120        <xsd:element name="autowiring-type" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
121        <xsd:element name="bind" type="bind" minOccurs="0" maxOccurs="unbounded" />
122      </xsd:choice>
123      <xsd:attribute name="id" type="xsd:string" />
124      <xsd:attribute name="class" type="xsd:string" />
125      <xsd:attribute name="shared" type="boolean" />
126      <xsd:attribute name="public" type="boolean" />
127      <xsd:attribute name="synthetic" type="boolean" />
128      <xsd:attribute name="lazy" type="boolean" />
129      <xsd:attribute name="abstract" type="boolean" />
130      <xsd:attribute name="alias" type="xsd:string" />
131      <xsd:attribute name="parent" type="xsd:string" />
132      <xsd:attribute name="decorates" type="xsd:string" />
133      <xsd:attribute name="decoration-inner-name" type="xsd:string" />
134      <xsd:attribute name="decoration-priority" type="xsd:integer" />
135      <xsd:attribute name="autowire" type="boolean" />
136      <xsd:attribute name="autoconfigure" type="boolean" />
137    </xsd:complexType>
138   
139    <xsd:complexType name="instanceof">
140      <xsd:choice maxOccurs="unbounded">
141        <xsd:element name="configurator" type="callable" minOccurs="0" maxOccurs="1" />
142        <xsd:element name="call" type="call" minOccurs="0" maxOccurs="unbounded" />
143        <xsd:element name="tag" type="tag" minOccurs="0" maxOccurs="unbounded" />
144        <xsd:element name="property" type="property" minOccurs="0" maxOccurs="unbounded" />
145      </xsd:choice>
146      <xsd:attribute name="id" type="xsd:string" use="required" />
147      <xsd:attribute name="shared" type="boolean" />
148      <xsd:attribute name="public" type="boolean" />
149      <xsd:attribute name="lazy" type="boolean" />
150      <xsd:attribute name="autowire" type="boolean" />
151      <xsd:attribute name="autoconfigure" type="boolean" />
152    </xsd:complexType>
153   
154    <xsd:complexType name="prototype">
155      <xsd:choice maxOccurs="unbounded">
156        <xsd:element name="argument" type="argument" minOccurs="0" maxOccurs="unbounded" />
157        <xsd:element name="configurator" type="callable" minOccurs="0" maxOccurs="1" />
158        <xsd:element name="factory" type="callable" minOccurs="0" maxOccurs="1" />
159        <xsd:element name="deprecated" type="xsd:string" minOccurs="0" maxOccurs="1" />
160        <xsd:element name="call" type="call" minOccurs="0" maxOccurs="unbounded" />
161        <xsd:element name="tag" type="tag" minOccurs="0" maxOccurs="unbounded" />
162        <xsd:element name="property" type="property" minOccurs="0" maxOccurs="unbounded" />
163        <xsd:element name="bind" type="bind" minOccurs="0" maxOccurs="unbounded" />
164      </xsd:choice>
165      <xsd:attribute name="namespace" type="xsd:string" use="required" />
166      <xsd:attribute name="resource" type="xsd:string" use="required" />
167      <xsd:attribute name="exclude" type="xsd:string" />
168      <xsd:attribute name="shared" type="boolean" />
169      <xsd:attribute name="public" type="boolean" />
170      <xsd:attribute name="lazy" type="boolean" />
171      <xsd:attribute name="abstract" type="boolean" />
172      <xsd:attribute name="parent" type="xsd:string" />
173      <xsd:attribute name="autowire" type="boolean" />
174      <xsd:attribute name="autoconfigure" type="boolean" />
175    </xsd:complexType>
176   
177    <xsd:complexType name="tag">
178      <xsd:attribute name="name" type="xsd:string" use="required" />
179      <xsd:anyAttribute namespace="##any" processContents="lax" />
180    </xsd:complexType>
181   
182    <xsd:complexType name="parameters">
183      <xsd:choice minOccurs="1" maxOccurs="unbounded">
184        <xsd:element name="parameter" type="parameter" />
185      </xsd:choice>
186      <xsd:attribute name="type" type="parameter_type" />
187      <xsd:attribute name="key" type="xsd:string" />
188    </xsd:complexType>
189   
190    <xsd:complexType name="parameter" mixed="true">
191      <xsd:choice minOccurs="0" maxOccurs="unbounded">
192        <xsd:element name="parameter" type="parameter" />
193      </xsd:choice>
194      <xsd:attribute name="type" type="parameter_type" />
195      <xsd:attribute name="id" type="xsd:string" />
196      <xsd:attribute name="key" type="xsd:string" />
197      <xsd:attribute name="on-invalid" type="invalid_sequence" />
198    </xsd:complexType>
199   
200    <xsd:complexType name="property" mixed="true">
201      <xsd:choice minOccurs="0">
202        <xsd:element name="property" type="property" maxOccurs="unbounded" />
203        <xsd:element name="service" type="service" />
204      </xsd:choice>
205      <xsd:attribute name="type" type="argument_type" />
206      <xsd:attribute name="id" type="xsd:string" />
207      <xsd:attribute name="key" type="xsd:string" />
208      <xsd:attribute name="name" type="xsd:string" />
209      <xsd:attribute name="on-invalid" type="invalid_sequence" />
210      <xsd:attribute name="strict" type="boolean" />
211      <xsd:attribute name="tag" type="xsd:string" />
212    </xsd:complexType>
213   
214    <xsd:complexType name="bind" mixed="true">
215      <xsd:choice maxOccurs="unbounded">
216        <xsd:element name="bind" type="argument" minOccurs="0" maxOccurs="unbounded" />
217        <xsd:element name="service" type="service" />
218      </xsd:choice>
219      <xsd:attribute name="type" type="argument_type" />
220      <xsd:attribute name="id" type="xsd:string" />
221      <xsd:attribute name="key" type="xsd:string" use="required" />
222      <xsd:attribute name="on-invalid" type="invalid_sequence" />
223      <xsd:attribute name="method" type="xsd:string" />
224    </xsd:complexType>
225   
226    <xsd:complexType name="argument" mixed="true">
227      <xsd:choice minOccurs="0">
228        <xsd:element name="argument" type="argument" maxOccurs="unbounded" />
229        <xsd:element name="service" type="service" />
230      </xsd:choice>
231      <xsd:attribute name="type" type="argument_type" />
232      <xsd:attribute name="id" type="xsd:string" />
233      <xsd:attribute name="key" type="xsd:string" />
234      <xsd:attribute name="index" type="xsd:integer" />
235      <xsd:attribute name="on-invalid" type="invalid_sequence" />
236      <xsd:attribute name="strict" type="boolean" />
237      <xsd:attribute name="tag" type="xsd:string" />
238    </xsd:complexType>
239   
240    <xsd:complexType name="call">
241      <xsd:choice minOccurs="0">
242        <xsd:element name="argument" type="argument" maxOccurs="unbounded" />
243      </xsd:choice>
244      <xsd:attribute name="method" type="xsd:string" />
245    </xsd:complexType>
246   
247    <xsd:simpleType name="parameter_type">
248      <xsd:restriction base="xsd:string">
249        <xsd:enumeration value="collection" />
250        <xsd:enumeration value="string" />
251        <xsd:enumeration value="constant" />
252      </xsd:restriction>
253    </xsd:simpleType>
254   
255    <xsd:simpleType name="argument_type">
256      <xsd:restriction base="xsd:string">
257        <xsd:enumeration value="collection" />
258        <xsd:enumeration value="service" />
259        <xsd:enumeration value="expression" />
260        <xsd:enumeration value="string" />
261        <xsd:enumeration value="constant" />
262        <xsd:enumeration value="iterator" />
263        <xsd:enumeration value="tagged" />
264      </xsd:restriction>
265    </xsd:simpleType>
266   
267    <xsd:simpleType name="invalid_sequence">
268      <xsd:restriction base="xsd:string">
269        <xsd:enumeration value="null" />
270        <xsd:enumeration value="ignore" />
271        <xsd:enumeration value="exception" />
272        <xsd:enumeration value="ignore_uninitialized" />
273      </xsd:restriction>
274    </xsd:simpleType>
275   
276    <xsd:simpleType name="boolean">
277      <xsd:restriction base="xsd:string">
278        <xsd:pattern value="(%.+%|true|false)" />
279      </xsd:restriction>
280    </xsd:simpleType>
281  </xsd:schema>
282