phpldapadmin/app/Classes/LDAP/Attribute/Internal.php

22 lines
431 B
PHP
Raw Normal View History

<?php
namespace App\Classes\LDAP\Attribute;
use Illuminate\Contracts\View\View;
use App\Classes\LDAP\Attribute;
/**
* Represents an attribute whose values are internal
*/
abstract class Internal extends Attribute
{
2023-03-02 03:41:38 +00:00
protected bool $is_internal = TRUE;
public function render(bool $edit=FALSE): View
{
// @note Internal attributes cannot be edited
return view('components.attribute.internal')
->with('o',$this);
}
}