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

28 lines
526 B
PHP
Raw Normal View History

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