SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php55 > root > usr > share > pear > Symfony > Component > Security > Core > Role


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php55/root/usr/share/pear/Symfony/Component/Security/Core/Role

NameTypeSizeLast ModifiedActions
Role.php File 773 bytes December 18 2019 11:24:07.
RoleHierarchy.php File 1855 bytes December 18 2019 11:24:07.
RoleHierarchyInterface.php File 887 bytes December 18 2019 11:24:07.
RoleInterface.php File 911 bytes December 18 2019 11:24:07.
SwitchUserRole.php File 1072 bytes December 18 2019 11:24:07.

Reading File: //opt/cloudlinux/alt-php55/root/usr/share/pear/Symfony/Component/Security/Core/Role/Role.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Security\Core\Role;

/**
 * Role is a simple implementation of a RoleInterface where the role is a
 * string.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
class Role implements RoleInterface
{
    private $role;

    /**
     * Constructor.
     *
     * @param string $role The role name
     */
    public function __construct($role)
    {
        $this->role = (string) $role;
    }

    /**
     * {@inheritdoc}
     */
    public function getRole()
    {
        return $this->role;
    }
}

SILENT KILLER Tool