PHP Class Symfony\Component\Translation\Loader\XliffFileLoader

Author: Fabien Potencier ([email protected])
Inheritance: implements Symfony\Component\Translation\Loader\LoaderInterface
Show file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
load ( $resource, $locale, $domain = 'messages' )

Private Methods

Method Description
getXmlErrors ( ) : array Returns the XML errors of the internal XML parser
parseFile ( string $file ) : SimpleXMLElement Validates and parses the given file into a SimpleXMLElement

Method Details

load() public method

public load ( $resource, $locale, $domain = 'messages' )