public function add(Dictionary $dict)
    {
        if (! in_array($dict, $this->registry)) {
            $this->registry[] = $dict;
        }

        return $this;
    }
public function add(Dictionary $dict)
    {
        if (! in_array($dict, $this->registry)) {
            $this->registry[] = $dict;
        }

        return $this;
    }
public function add ( Dictionary $ dict ) { if ( ! in_array ( $ dict , $ this -> registry ) ) { $ this -> registry [ ] = $ dict ; } return $ this ; }
Add an item to the registry.

@param Dictionary $dict The Dictionary to add to the registry

@return DictionaryRegistry
Add an item to the registry .