mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 01:27:20 +08:00
31 lines
659 B
PHP
31 lines
659 B
PHP
<?php
|
|
/**
|
|
* @link http://www.yiiframework.com/
|
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
|
* @license http://www.yiiframework.com/license/
|
|
*/
|
|
|
|
namespace yii\authclient\widgets;
|
|
|
|
use yii\base\Widget;
|
|
|
|
/**
|
|
* AuthChoiceItem is a base class for creating widgets, which can be used to render link
|
|
* for auth client at [[AuthChoice]].
|
|
*
|
|
* @see AuthChoice
|
|
*
|
|
* @author Paul Klimov <klimov.paul@gmail.com>
|
|
* @since 2.0
|
|
*/
|
|
class AuthChoiceItem extends Widget
|
|
{
|
|
/**
|
|
* @var \yii\authclient\ClientInterface auth client instance.
|
|
*/
|
|
public $client;
|
|
/**
|
|
* @var AuthChoice parent AuthChoice widget
|
|
*/
|
|
public $authChoice;
|
|
} |