Webiny\Component\Security\Role\Role::__construct PHP 메소드

__construct() 공개 메소드

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