public function getAnnotation($name)
    {
        $returnValue = array();
        
        if (isset($this->annotations[$name])) {
            $returnValue = array(
                'name' => $name,
                'value' => $this->annotations[$name]
            );
        } else {
            $returnValue = null;
        }
        
        return (array) $returnValue;
    }
public function getAnnotation($name)
    {
        $returnValue = array();
        
        if (isset($this->annotations[$name])) {
            $returnValue = array(
                'name' => $name,
                'value' => $this->annotations[$name]
            );
        } else {
            $returnValue = null;
        }
        
        return (array) $returnValue;
    }
public function getAnnotation ( $ name ) { $ returnValue = array ( ) ; if ( isset ( $ this -> annotations [ $ name ] ) ) { $ returnValue = array ( 'name' => $ name , 'value' => $ this -> annotations [ $ name ] ) ; } else { $ returnValue = null ; } return ( array ) $ returnValue ; }
Get an annotation for a given annotation name.
Returns an associative
where keys are 'name' and 'value'.

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  string name
@return array
Get an annotation for a given annotation name . Returns an associative where keys are name and value .