O comportamento destas funções é afetado pelas configurações do php.ini.
Nome | Padrão | Modificável | Registro de Alterações |
---|---|---|---|
soap.wsdl_cache_enabled | 1 | INI_ALL | |
soap.wsdl_cache_dir | /tmp | INI_ALL | |
soap.wsdl_cache_ttl | 86400 | INI_ALL | |
soap.wsdl_cache | 1 | INI_ALL | |
soap.wsdl_cache_limit | 5 | INI_ALL |
Aqui está uma breve explicação das diretivas de configuração.
soap.wsdl_cache_enabled
intEnables or disables the WSDL caching feature.
soap.wsdl_cache_dir
stringSets the directory name where the SOAP extension will put cache files.
soap.wsdl_cache_ttl
intSets the number of seconds (time to live) that cached files will be used instead of the originals.
soap.wsdl_cache
int If soap.wsdl_cache_enabled
is on, this setting determines the type of caching. It can be any of: WSDL_CACHE_NONE
(0
), WSDL_CACHE_DISK
(1
), WSDL_CACHE_MEMORY
(2
) or WSDL_CACHE_BOTH
(3
). This can also be set via the options
array in the SoapClient or SoapServer constructor.
soap.wsdl_cache_limit
intMaximum number of in-memory cached WSDL files. Adding further files into a full memory cache will delete the oldest files from it.