SimplePie
class SimplePie implements SetLoggerInterface (View source)
SimplePie\SimplePie
is the primary entry point for SimplePie NG.
Traits
Properties
protected LoggerInterface | $logger | A PSR-3 logger. | from LoggerTrait |
protected int | $libxml | Bitwise libxml options to use for parsing XML. | |
protected HandlerStackInterface | $middleware | The handler stack which contains registered middleware. |
Methods
Constructs a new instance of this class.
Sets the libxml value to use for parsing XML.
Gets the libxml value to use for parsing XML.
Sets the handler stack which contains registered middleware.
Gets the handler stack which contains registered middleware.
Parses content which is known to be valid XML and is encoded as UTF-8.
Details
in LoggerTrait at line 35
LoggerTrait
setLogger(LoggerInterface $logger)
Sets the PSR-3 logger.
in LoggerTrait at line 52
LoggerInterface
getLogger()
Retrieves the PSR-3 logger.
at line 46
__construct()
Constructs a new instance of this class.
at line 75
int
setLibxml(int $libxml)
Sets the libxml value to use for parsing XML.
at line 94
int
getLibxml()
Gets the libxml value to use for parsing XML.
at line 106
SimplePie
setMiddlewareStack(HandlerStackInterface $handlerStack)
Sets the handler stack which contains registered middleware.
at line 117
HandlerStackInterface
getMiddlewareStack()
Gets the handler stack which contains registered middleware.
at line 133
Xml
parseXml(StreamInterface $stream, bool $handleHtmlEntitiesInXml = false)
Parses content which is known to be valid XML and is encoded as UTF-8.