Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
botman
/
botman
/
src
/
Traits
Location:
/home/zoteqbgb/public_html/vendor/botman/botman/src/Traits
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: ProvidesStorage.php
<?php namespace BotMan\BotMan\Traits; use BotMan\BotMan\Storages\Storage; trait ProvidesStorage { /** * @return Storage */ public function userStorage() { return (new Storage($this->storage)) ->setPrefix('user_') ->setDefaultKey($this->getMessage()->getSender()); } /** * @return Storage */ public function channelStorage() { return (new Storage($this->storage)) ->setPrefix('channel_') ->setDefaultKey($this->getMessage()->getRecipient()); } /** * @return Storage */ public function driverStorage() { return (new Storage($this->storage)) ->setPrefix('driver_') ->setDefaultKey($this->getDriver()->getName()); } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
HandlesConversations.php
11,759 bytes
0644
2024-12-20 17:50
âï¸
ðï¸
Rename
HandlesExceptions.php
637 bytes
0644
2024-12-20 17:50
âï¸
ðï¸
Rename
ProvidesStorage.php
793 bytes
0644
2024-12-20 17:50
âï¸
ðï¸
Rename
Chang
Apply