Files
yii2/extensions/authclient/widgets/AuthChoiceItem.php
2015-03-17 17:04:42 +02:00

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;
}