webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Concerns
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
GuardsAttributes.php
5.876KB
edt
ren
HasAttributes.php
65.347KB
edt
ren
HasEvents.php
10.462KB
edt
ren
HasGlobalScopes.php
3.157KB
edt
ren
HasRelationships.php
30.038KB
edt
ren
HasTimestamps.php
4.967KB
edt
ren
HasUlids.php
2.14KB
edt
ren
HasUniqueIds.php
0.988KB
edt
ren
HasUuids.php
2.135KB
edt
ren
HidesAttributes.php
2.841KB
edt
ren
QueriesRelationships.php
31.977KB
edt
ren
<?php namespace Illuminate\Database\Eloquent\Concerns; trait HidesAttributes { /** * The attributes that should be hidden for serialization. * * @var array<string> */ protected $hidden = []; /** * The attributes that should be visible in serialization. * * @var array<string> */ protected $visible = []; /** * Get the hidden attributes for the model. * * @return array<string> */ public function getHidden() { return $this->hidden; } /** * Set the hidden attributes for the model. * * @param array<string> $hidden * @return $this */ public function setHidden(array $hidden) { $this->hidden = $hidden; return $this; } /** * Get the visible attributes for the model. * * @return array<string> */ public function getVisible() { return $this->visible; } /** * Set the visible attributes for the model. * * @param array<string> $visible * @return $this */ public function setVisible(array $visible) { $this->visible = $visible; return $this; } /** * Make the given, typically hidden, attributes visible. * * @param array<string>|string|null $attributes * @return $this */ public function makeVisible($attributes) { $attributes = is_array($attributes) ? $attributes : func_get_args(); $this->hidden = array_diff($this->hidden, $attributes); if (! empty($this->visible)) { $this->visible = array_values(array_unique(array_merge($this->visible, $attributes))); } return $this; } /** * Make the given, typically hidden, attributes visible if the given truth test passes. * * @param bool|\Closure $condition * @param array<string>|string|null $attributes * @return $this */ public function makeVisibleIf($condition, $attributes) { return value($condition, $this) ? $this->makeVisible($attributes) : $this; } /** * Make the given, typically visible, attributes hidden. * * @param array<string>|string|null $attributes * @return $this */ public function makeHidden($attributes) { $this->hidden = array_values(array_unique(array_merge( $this->hidden, is_array($attributes) ? $attributes : func_get_args() ))); return $this; } /** * Make the given, typically visible, attributes hidden if the given truth test passes. * * @param bool|\Closure $condition * @param array<string>|string|null $attributes * @return $this */ public function makeHiddenIf($condition, $attributes) { return value($condition, $this) ? $this->makeHidden($attributes) : $this; } }
<=Back
Liking