public function extractAttributes($options = array()) { if (!is_array($options)) { $options = array(); } if (count($this->groupStack) > 0) { $options = $this->mergeWithLastGroup($options); } return array_except($options, $this->reserved); }