public function handle_options($options = null) { $this->opt = new pakeGetopt(self::$OPTIONS); $this->opt->parse($options); foreach ($this->opt->get_options() as $opt => $value) { $this->do_option($opt, $value); } }