public function remove($key)
    {
        if ( ! isset($this->websites[$key]) && ! array_key_exists($key, $this->websites)) {
            return null;
        }

        unset($this->websites[$key]);

        return $this;
    }
public function remove($key)
    {
        if ( ! isset($this->websites[$key]) && ! array_key_exists($key, $this->websites)) {
            return null;
        }

        unset($this->websites[$key]);

        return $this;
    }
public function remove ( $ key ) { if ( ! isset ( $ this -> websites [ $ key ] ) && ! array_key_exists ( $ key , $ this -> websites ) ) { return null ; } unset ( $ this -> websites [ $ key ] ) ; return $ this ; }
Removed an element given its key

@param string $key Element key

@return $this|null
Removed an element given its key