Node
class Node extends AbstractType implements NodeInterface, TypeInterface (View source)
A type model for a deep-level Node element.
Properties
| protected DOMNode|null | $node | The raw DOMNode element. | 
                |
| protected string|null | $value | The content of the node, serialized appropriately. | |
| protected string|null | $lang | The language of the content. | |
| protected string|null | $base | The xml:base value of the content. | |
| protected string | $serialization | The serialization of the content. | 
Methods
Proxy method which forwards requests to an underlying handler.
Gets the standard, pre-formatted message for unresolvable method calls.
Casting this Node element to a string with return the value of the Node.
Creates a new Node object from a string of text (such as from an XML attribute).
Gets the content of the node, serialized appropriately.
Gets the serialization of the content.
Finds the common internal alias for a given method name.
Get the correct handler for a whitelisted method name.
Details
        in AbstractType at         line 27
                            
    __call(string $nodeName, array $args)
        
    
    Proxy method which forwards requests to an underlying handler.
        in AbstractType at         line 52
                    protected        string
    getUnresolvableMessage(string $nodeName)
        
    
    Gets the standard, pre-formatted message for unresolvable method calls.
        at         line 68
                            
    __construct(DOMNode|null $node = null, array $fallback = [])
        
    
    Get the text node in multiple formats.
        at         line 115
                            string
    __toString()
        
    
    Casting this Node element to a string with return the value of the Node.
        at         line 127
                static            Node
    factory(string $value)
        
    
    Creates a new Node object from a string of text (such as from an XML attribute).
        at         line 145
                            string|null
    getValue()
        
    
    Gets the content of the node, serialized appropriately.
        at         line 155
                            string
    getSerialization()
        
    
    Gets the serialization of the content.
Will always be one of the enums from SimplePie\Enum\Serialization.
        at         line 183
                            string
    getAlias(string $nodeName)
        
    
    Finds the common internal alias for a given method name.