public function addAnnotation($key, $value)
    {
        if (!isset($this->annotations[$key])) {
            $this->annotations[$key] = array();
        }

        $this->annotations[$key][] = $value;
    }
public function addAnnotation($key, $value)
    {
        if (!isset($this->annotations[$key])) {
            $this->annotations[$key] = array();
        }

        $this->annotations[$key][] = $value;
    }
public function addAnnotation ( $ key , $ value ) { if ( ! isset ( $ this -> annotations [ $ key ] ) ) { $ this -> annotations [ $ key ] = array ( ) ; } $ this -> annotations [ $ key ] [ ] = $ value ; }
Adds an annotation

@param string $key
@param string $value
@return void
Adds an annotation