����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 13.59.90.172 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirm.gltechlimited.com/vendor/mews/purifier/src/Casts/ |
Upload File : |
<?php namespace Mews\Purifier\Casts; use Illuminate\Contracts\Database\Eloquent\CastsAttributes; class CleanHtmlInput implements CastsAttributes { use WithConfig; /** * Cast the given value. Does not clean the HTML. * * @param \Illuminate\Database\Eloquent\Model $model * @param string $key * @param mixed $value * @param array $attributes * @return array */ public function get($model, $key, $value, $attributes) { return $value; } /** * Prepare the given value for storage by cleaning the HTML. * * @param \Illuminate\Database\Eloquent\Model $model * @param string $key * @param array $value * @param array $attributes * @return string */ public function set($model, $key, $value, $attributes) { return clean($value, $this->config); } }