src/CFPropertyList/CFPropertyList.php
public function loadXMLStream($stream)
    {
        if (($contents = stream_get_contents($stream)) === false) {
            throw IOException::notReadable('<stream>');
        }
        $this->parse($contents, CFPropertyList::FORMAT_XML);
    }
public function loadXMLStream($stream)
    {
        if (($contents = stream_get_contents($stream)) === false) {
            throw IOException::notReadable('<stream>');
        }
        $this->parse($contents, CFPropertyList::FORMAT_XML);
    }
public function loadXMLStream ( $ stream ) { if ( ( $ contents = stream_get_contents ( $ stream ) ) === false ) { throw IOException :: notReadable ( '<stream>' ) ; } $ this -> parse ( $ contents , CFPropertyList :: FORMAT_XML ) ; }
Load an XML PropertyList.
@param resource $stream A stream containing the xml document.
@return void
@throws IOException if stream could not be read
@throws DOMException if XML-stream could not be read properly
Load an XML PropertyList .