[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/dependency-injection/Loader/schema/dic/services/ -> services-1.0.xsd (source)

   1  <?xml version="1.0" encoding="UTF-8" ?>
   2  
   3  <xsd:schema xmlns="http://symfony.com/schema/dic/services"
   4       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   5       targetNamespace="http://symfony.com/schema/dic/services"
   6       elementFormDefault="qualified">
   7  
   8    <xsd:annotation>
   9      <xsd:documentation><![CDATA[
  10        Symfony XML Services Schema, version 1.0
  11        Authors: Fabien Potencier
  12  
  13        This defines a way to describe PHP objects (services) and their
  14        dependencies.
  15      ]]></xsd:documentation>
  16    </xsd:annotation>
  17  
  18    <xsd:element name="container" type="container" />
  19  
  20    <xsd:complexType name="container">
  21      <xsd:annotation>
  22        <xsd:documentation><![CDATA[
  23          The root element of a service file.
  24        ]]></xsd:documentation>
  25      </xsd:annotation>
  26      <xsd:sequence>
  27        <xsd:group ref="foreign" />
  28        <xsd:sequence minOccurs="0">
  29          <xsd:element name="imports" type="imports" />
  30          <xsd:group ref="foreign" />
  31        </xsd:sequence>
  32        <xsd:sequence minOccurs="0">
  33          <xsd:element name="parameters" type="parameters" />
  34          <xsd:group ref="foreign" />
  35        </xsd:sequence>
  36        <xsd:sequence minOccurs="0">
  37          <xsd:element name="services" type="services" />
  38          <xsd:group ref="foreign" />
  39        </xsd:sequence>
  40      </xsd:sequence>
  41    </xsd:complexType>
  42  
  43    <xsd:group name="foreign">
  44      <xsd:sequence>
  45        <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  46      </xsd:sequence>
  47    </xsd:group>
  48  
  49    <xsd:complexType name="services">
  50      <xsd:annotation>
  51        <xsd:documentation><![CDATA[
  52          Enclosing element for the definition of all services
  53        ]]></xsd:documentation>
  54      </xsd:annotation>
  55      <xsd:choice maxOccurs="unbounded">
  56        <xsd:element name="service" type="service" minOccurs="1" />
  57        <xsd:element name="prototype" type="prototype" minOccurs="0" />
  58        <xsd:element name="defaults" type="defaults" minOccurs="0" maxOccurs="1" />
  59        <xsd:element name="instanceof" type="instanceof" minOccurs="0" />
  60      </xsd:choice>
  61    </xsd:complexType>
  62  
  63    <xsd:complexType name="imports">
  64      <xsd:annotation>
  65        <xsd:documentation><![CDATA[
  66          Enclosing element for the import elements
  67        ]]></xsd:documentation>
  68      </xsd:annotation>
  69      <xsd:choice minOccurs="1" maxOccurs="unbounded">
  70        <xsd:element name="import" type="import" />
  71      </xsd:choice>
  72    </xsd:complexType>
  73  
  74    <xsd:complexType name="import">
  75      <xsd:annotation>
  76        <xsd:documentation><![CDATA[
  77          Import an external resource defining other services or parameters
  78        ]]></xsd:documentation>
  79      </xsd:annotation>
  80      <xsd:attribute name="resource" type="xsd:string" use="required" />
  81      <xsd:attribute name="ignore-errors" type="boolean" />
  82      <xsd:attribute name="type" type="xsd:string" />
  83    </xsd:complexType>
  84  
  85    <xsd:complexType name="callable">
  86      <xsd:choice minOccurs="0" maxOccurs="1">
  87        <xsd:element name="service" type="service" minOccurs="0" maxOccurs="1" />
  88      </xsd:choice>
  89      <xsd:attribute name="service" type="xsd:string" />
  90      <xsd:attribute name="class" type="xsd:string" />
  91      <xsd:attribute name="method" type="xsd:string" />
  92      <xsd:attribute name="function" type="xsd:string" />
  93    </xsd:complexType>
  94  
  95    <xsd:complexType name="defaults">
  96      <xsd:annotation>
  97        <xsd:documentation><![CDATA[
  98          Enclosing element for the service definitions' defaults for the current file
  99        ]]></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>


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1