classes/phing/Project.php
public function getReference($key)
    {
        if (isset($this->references[$key])) {
            return $this->references[$key];
        }

        return null; // just to be explicit
    }
public function getReference($key)
    {
        if (isset($this->references[$key])) {
            return $this->references[$key];
        }

        return null; // just to be explicit
    }
public function getReference ( $ key ) { if ( isset ( $ this -> references [ $ key ] ) ) { return $ this -> references [ $ key ] ; } return null ; // just to be explicit }
Returns a specific reference.

@param  string $key The reference id/key.
@return object Reference or null if not defined
Returns a specific reference .