⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
app
/
View
/
Components
/
View File Name :
Mobile.php
<?php namespace App\View\Components; use Closure; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Mobile extends Component { /** * Create a new component instance. */ public $divClass; public $label; public $name; public $placeholder; public $class; public $value; public $id; public $required; public function __construct($divClass='col-md-12',$name="mobile_no",$class='form-control',$label=null, $placeholder=null ,$value=null,$id=null,$required= false) { $this->divClass = $divClass; $this->label = $label ?? __('Mobile No'); $this->name = $name; $this->placeholder = $placeholder ?? __('Enter Mobile No'); $this->class = $class; $this->value = $value; $this->id = $id; $this->required = $required; } /** * Get the view / contents that represent the component. */ public function render(): View|Closure|string { return view('components.mobile'); } }