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