public function addSpan($value)
    {
        if ($this->span === null) {
            $this->span = new \Protobuf\ScalarCollection();
        }

        $this->span->add($value);
    }
public function addSpan($value)
    {
        if ($this->span === null) {
            $this->span = new \Protobuf\ScalarCollection();
        }

        $this->span->add($value);
    }
public function addSpan ( $ value ) { if ( $ this -> span === null ) { $ this -> span = new \ Protobuf \ ScalarCollection ( ) ; } $ this -> span -> add ( $ value ) ; }
Add a new element to 'span'

@param int $value
Add a new element to span