src/Writer/MzIdentMlWriter.php
private function writeAttributeNotNull($attribute, $value)
    {
        if (is_null($value)) {
            return;
        }

        $this->stream->writeAttribute($attribute, $value);
    }
private function writeAttributeNotNull($attribute, $value)
    {
        if (is_null($value)) {
            return;
        }

        $this->stream->writeAttribute($attribute, $value);
    }
private function writeAttributeNotNull ( $ attribute , $ value ) { if ( is_null ( $ value ) ) { return ; } $ this -> stream -> writeAttribute ( $ attribute , $ value ) ; }
Writes the attribute for as long as the value is not null

@param string $attribute
@param mixed $value
Writes the attribute for as long as the value is not null