public function setNeeds($option)
    {
        if (!is_array($option)) {
            $option = array($option);
        }
        foreach ($option as $opt) {
            $this->needs[] = $opt;
        }
        return $this;
    }
public function setNeeds($option)
    {
        if (!is_array($option)) {
            $option = array($option);
        }
        foreach ($option as $opt) {
            $this->needs[] = $opt;
        }
        return $this;
    }
public function setNeeds ( $ option ) { if ( ! is_array ( $ option ) ) { $ option = array ( $ option ) ; } foreach ( $ option as $ opt ) { $ this -> needs [ ] = $ opt ; } return $ this ; }
Set an option as required

@param string $option Option name
@return Option
Set an option as required