Lines Matching refs:isWrite
90 * @param bool $isWrite Whether this is a write action
93 public static function check($action, $isWrite = false) { argument
95 $limit = $isWrite ? self::WRITE_LIMIT : self::DEFAULT_LIMIT;
96 $window = $isWrite ? self::WRITE_WINDOW : self::DEFAULT_WINDOW;
164 * @param bool $isWrite Whether this is a write action
167 public static function getRemaining($action, $isWrite = false) { argument
169 $limit = $isWrite ? self::WRITE_LIMIT : self::DEFAULT_LIMIT;
170 $window = $isWrite ? self::WRITE_WINDOW : self::DEFAULT_WINDOW;
268 * @param bool $isWrite Whether this is a write action
270 public static function addHeaders($action, $isWrite = false) { argument
271 $info = self::getRemaining($action, $isWrite);