Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
psa
/
admin
/
plib
/
modules
/
mfa
/
vendor
/
palepurple
/
rate-limit
/
src
/
File Content:
Adapter.php
<?php namespace PalePurple\RateLimit; /** * @author Peter Chung <touhonoob@gmail.com> * @date May 16, 2015 */ abstract class Adapter { /** * @return bool * @param string $key * @param float $value * @param int $ttl - seconds after which this entry will expire e.g 50 */ abstract public function set($key, $value, $ttl); /** * @param string $key * @return float */ abstract public function get($key); /** * @param string $key * @return bool */ abstract public function exists($key); /** * @return bool * @param string $key */ abstract public function del($key); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
Adapter
---
0755
Adapter.php
685 bytes
0644
RateLimit.php
3950 bytes
0644
N4ST4R_ID | Naxtarrr