X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/realesbar/vendor/laravel/passport/src
home
/
gfecatvj
/
sites
/
realesbar
/
vendor
/
laravel
/
passport
/
src
/
📁
..
📄
ApiTokenCookieFactory.php
(2.07 KB)
📄
AuthCode.php
(1.49 KB)
📁
Bridge
📄
Client.php
(4.08 KB)
📄
ClientRepository.php
(5.52 KB)
📁
Console
📁
Events
📁
Exceptions
📁
Guards
📄
HasApiTokens.php
(1.88 KB)
📁
Http
📄
Passport.php
(15.63 KB)
📄
PassportServiceProvider.php
(8.96 KB)
📄
PassportUserProvider.php
(1.81 KB)
📄
PersonalAccessClient.php
(868 B)
📄
PersonalAccessTokenFactory.php
(3.62 KB)
📄
PersonalAccessTokenResult.php
(1.15 KB)
📄
RefreshToken.php
(1.85 KB)
📄
RefreshTokenRepository.php
(1.6 KB)
📄
RouteRegistrar.php
(4.63 KB)
📄
Scope.php
(1.08 KB)
📄
Token.php
(3.38 KB)
📄
TokenRepository.php
(2.93 KB)
📄
TransientToken.php
(610 B)
Editing: Scope.php
<?php namespace Laravel\Passport; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Contracts\Support\Jsonable; class Scope implements Arrayable, Jsonable { /** * The name / ID of the scope. * * @var string */ public $id; /** * The scope description. * * @var string */ public $description; /** * Create a new scope instance. * * @param string $id * @param string $description * @return void */ public function __construct($id, $description) { $this->id = $id; $this->description = $description; } /** * Get the instance as an array. * * @return array */ public function toArray() { return [ 'id' => $this->id, 'description' => $this->description, ]; } /** * Convert the object to its JSON representation. * * @param int $options * @return string */ public function toJson($options = 0) { return json_encode($this->toArray(), $options); } }
Upload File
Create Folder