Index
A
- ArrayToXml — Class in namespace Bmatovu\LaravelXml\Support
Convert PHP Array to XML
- ArrayToXml::addNode() — Method in class ArrayToXml
Add node.
- ArrayToXml::addCollectionNode() — Method in class ArrayToXml
Add collection node.
- ArrayToXml::addSequentialNode() — Method in class ArrayToXml
Add sequential node.
- ArrayToXml::addAttributes() — Method in class ArrayToXml
Add attributes.
B
- LaravelXmlServiceProvider::boot() — Method in class LaravelXmlServiceProvider
Bootstrap the application services.
C
- ArrayToXml::convert() — Method in class ArrayToXml
Convert the given array to an xml string.
- ArrayToXml::createRootElement() — Method in class ArrayToXml
Create the root element.
D
- $ ArrayToXml#document — Property in class ArrayToXml
The root DOM Document.
- LaravelXml::decode() — Method in class LaravelXml
Convert a string of XML into an array
- $ XmlValidator#doc — Property in class XmlValidator
DOM Document
E
- LaravelXml::encode() — Method in class LaravelXml
Convert the an array to an xml string
G
- LaravelXml::getFacadeAccessor() — Method in class LaravelXml
Get the binding in the IoC container
- XmlValidator::getElement() — Method in class XmlValidator
Get element from message
- XmlValidator::getMessage() — Method in class XmlValidator
Get refined message
H
- RequireXml::handle() — Method in class RequireXml
Handle an incoming request.
- $ XmlResponse#headers — Property in class XmlResponse
I
- ArrayToXml::isArrayAllKeySequential() — Method in class ArrayToXml
Check if array are all sequential.
- LaravelXml::is_valid() — Method in class LaravelXml
Check if a string is valid XML
- XmlValidator::is_valid() — Method in class XmlValidator
Check if a string is valid XML
J
- JsonSimpleXMLElementDecorator — Class in namespace Bmatovu\LaravelXml\Support
Class JsonSimpleXMLElementDecorator
- JsonSimpleXMLElementDecorator::jsonSerialize() — Method in class JsonSimpleXMLElementDecorator
Specify data which should be serialized to JSON
L
- LaravelXml — Class in namespace Bmatovu\LaravelXml
- LaravelXmlServiceProvider — Class in namespace Bmatovu\LaravelXml
- LaravelXml — Class in namespace Bmatovu\LaravelXml\Support\Facades
O
- $ XmlResponse#options — Property in class XmlResponse
R
- RequireXml — Class in namespace Bmatovu\LaravelXml\Http\Middleware
- LaravelXmlServiceProvider::register() — Method in class LaravelXmlServiceProvider
Register the application services.
- $ ArrayToXml#replaceSpacesByUnderScoresInKeyNames — Property in class ArrayToXml
Set to enable replacing space with underscore.
S
- XmlResponse::setContent() — Method in class XmlResponse
Set the content on the response.
- JsonSimpleXMLElementDecorator::setDepth() — Method in class JsonSimpleXMLElementDecorator
T
- ArrayToXml::toXml() — Method in class ArrayToXml
Return as XML.
- ArrayToXml::toDom() — Method in class ArrayToXml
Return as DOM object.
U
- JsonSimpleXMLElementDecorator::useAttributes() — Method in class JsonSimpleXMLElementDecorator
- JsonSimpleXMLElementDecorator::useText() — Method in class JsonSimpleXMLElementDecorator
V
- LaravelXml::validate() — Method in class LaravelXml
Validate XML string
- XmlValidator::validate() — Method in class XmlValidator
Validate XML string
X
- XmlResponse — Class in namespace Bmatovu\LaravelXml\Http
- XmlValidator — Class in namespace Bmatovu\LaravelXml\Support
Class XmlValidator
- $ XmlValidator#xsd — Property in class XmlValidator
XML Schema Definition
_
- XmlResponse::__construct() — Method in class XmlResponse
- Constructor.
- ArrayToXml::__construct() — Method in class ArrayToXml
Construct a new instance.
- LaravelXml::__construct() — Method in class LaravelXml
- JsonSimpleXMLElementDecorator::__construct() — Method in class JsonSimpleXMLElementDecorator
- XmlValidator::__construct() — Method in class XmlValidator