phpldapadmin/app/Classes/LDAP/Attribute/Binary/JpegPhoto.php

32 lines
615 B
PHP
Raw Normal View History

<?php
namespace App\Classes\LDAP\Attribute\Binary;
use Illuminate\Contracts\View\View;
use App\Classes\LDAP\Attribute\Binary;
use App\Traits\MD5Updates;
/**
2023-03-02 07:21:53 +00:00
* Represents an JpegPhoto Attribute
*/
final class JpegPhoto extends Binary
{
use MD5Updates;
public function __construct(string $name,array $values)
{
parent::__construct($name,$values);
$this->internal = FALSE;
}
2023-09-02 10:50:54 +00:00
public function render(bool $edit=FALSE,bool $blank=FALSE): View
{
return view('components.attribute.binary.jpegphoto')
->with('edit',$edit)
2023-09-02 10:50:54 +00:00
->with('blank',$blank)
->with('o',$this)
->with('f',new \finfo);
}
}