2023-03-02 07:21:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Classes\LDAP\Attribute\Internal;
|
|
|
|
|
2023-04-02 12:07:15 +00:00
|
|
|
use Illuminate\Contracts\View\View;
|
2023-03-02 07:21:53 +00:00
|
|
|
|
|
|
|
use App\Classes\LDAP\Attribute\Internal;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Represents an attribute whose values are timestamps
|
|
|
|
*/
|
|
|
|
final class Timestamp extends Internal
|
|
|
|
{
|
2023-04-02 12:07:15 +00:00
|
|
|
public function render(bool $edit=FALSE): View
|
2023-03-02 07:21:53 +00:00
|
|
|
{
|
2023-04-02 12:07:15 +00:00
|
|
|
// @note Internal attributes cannot be edited
|
|
|
|
return view('components.attribute.internal.timestamp')
|
|
|
|
->with('o',$this);
|
2023-03-02 07:21:53 +00:00
|
|
|
}
|
|
|
|
}
|