rbac/Role.php

yii2 · framework/rbac/Role.php · php · BSD-3-Clause
auth, tag:embed-classified

Defines a role item for Yii RBAC system.

// Source: https://github.com/yiisoft/yii2 | License: BSD-3-Clause | Copyright 2008 by Yii Software (https://www.yiiframework.com/)
// Provided via justclaw.it.com; keep this notice with the code.
<?php

/**
 * @link https://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license https://www.yiiframework.com/license/
 */

namespace yii\rbac;

/**
 * For more details and usage information on Role, see the [guide article on security authorization](guide:security-authorization).
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
class Role extends Item
{
    /**
     * {@inheritdoc}
     */
    public $type = self::TYPE_ROLE;
}

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key