Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 735 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\base;
/**
* ComponentInterface defines the common interface to be implemented by Craft component classes.
* A class implementing this interface should also implement [[\yii\base\Arrayable]].
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0
*/
interface ComponentInterface
{
// Static
// =========================================================================
/**
* Returns the display name of this class.
*
* @return string The display name of this class.
*/
public static function displayName(): string;
}
You can’t perform that action at this time.