2023-03-01 22:54:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Classes\LDAP\Attribute;
|
|
|
|
|
2023-04-02 12:07:15 +00:00
|
|
|
use Illuminate\Contracts\View\View;
|
|
|
|
|
2023-03-01 22:54:30 +00:00
|
|
|
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;
|
2023-04-02 12:07:15 +00:00
|
|
|
|
|
|
|
public function render(bool $edit=FALSE): View
|
|
|
|
{
|
|
|
|
// @note Internal attributes cannot be edited
|
|
|
|
return view('components.attribute.internal')
|
|
|
|
->with('o',$this);
|
|
|
|
}
|
2023-03-01 22:54:30 +00:00
|
|
|
}
|