Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (33 sloc) 738 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\base;
/**
* Utility is the base class for classes representing Control Panel utilities.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0
*/
abstract class Utility extends Component implements UtilityInterface
{
// Static
// =========================================================================
/**
* @inheritdoc
*/
public static function iconPath()
{
return null;
}
/**
* @inheritdoc
*/
public static function badgeCount(): int
{
// 0 = no badge
return 0;
}
}
You can’t perform that action at this time.