<?php
 namespace TechSoft\Laravel\Admin\Cms\Field; use Illuminate\Support\Facades\View; class FieldTime extends BaseField { public function addHtml() { return View::make('admin::cms.field.time.add', [ 'key' => &$this->key, 'field' => &$this->field, 'default' => $this->default, ])->render(); } public function editHtml(&$data) { return View::make('admin::cms.field.time.edit', [ 'key' => &$this->key, 'field' => &$this->field, 'data' => &$data ])->render(); } } 