guild/backend/components/timepicker/src/TimePickerAsset.php

34 lines
698 B
PHP

<?php
/**
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2021
* @package yii2-widgets
* @subpackage timepicker
* @version 1.0.5
*/
//namespace kartik\time;
namespace backend\components\timepicker\src;
use kartik\base\AssetBundle;
/**
* Asset bundle for TimePicker Widget
*
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @since 1.0
*/
class TimePickerAsset extends AssetBundle
{
/**
* @inheritdoc
*/
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('css', ['css/bootstrap-timepicker']);
$this->setupAssets('js', ['js/bootstrap-timepicker']);
parent::init();
}
}