����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.14.7.99 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/cbt.bofirm.com/vendor/laravel/jetstream/src/ |
Upload File : |
<?php namespace Laravel\Jetstream; use JsonSerializable; class Role implements JsonSerializable { /** * The key identifier for the role. * * @var string */ public $key; /** * The name of the role. * * @var string */ public $name; /** * The role's permissions. * * @var array */ public $permissions; /** * The role's description. * * @var string */ public $description; /** * Create a new role instance. * * @param string $key * @param string $name * @param array $permissions * @return void */ public function __construct(string $key, string $name, array $permissions) { $this->key = $key; $this->name = $name; $this->permissions = $permissions; } /** * Describe the role. * * @param string $description * @return $this */ public function description(string $description) { $this->description = $description; return $this; } /** * Get the JSON serializable representation of the object. * * @return array */ public function jsonSerialize() { return [ 'key' => $this->key, 'name' => $this->name, 'description' => $this->description, 'permissions' => $this->permissions, ]; } }