public function getAttributes() { return array_merge(parent::getAttributes(), array('type' => 'time', 'step' => $this->interval)); }