public static function create(string $name, string $label = null): self
    {
        return new self($name, $label);
    }
public static function create(string $name, string $label = null): self
    {
        return new self($name, $label);
    }
public static function create ( string $ name , string $ label = null ) : self { return new self ( $ name , $ label ) ; }
Factory method used to assist with fluent interface handling.

See the examples for more details.

@param string $name Name of the new node.
@param string|null $label Optional label text.
Factory method used to assist with fluent interface handling .