Compare commits
3 Commits
11b7dc4229
...
e4f8f44aef
Author | SHA1 | Date | |
---|---|---|---|
e4f8f44aef | |||
e65e664792 | |||
4f6e1e90c6 |
@ -46,6 +46,9 @@ final class Dynamic extends Send
|
|||||||
case 'mtime':
|
case 'mtime':
|
||||||
return $this->sent->timestamp;
|
return $this->sent->timestamp;
|
||||||
|
|
||||||
|
case 'size':
|
||||||
|
return strlen($this->buffer);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -101,7 +104,6 @@ final class Dynamic extends Send
|
|||||||
public function open(string $compress=''): bool
|
public function open(string $compress=''): bool
|
||||||
{
|
{
|
||||||
$this->buffer = (string)$this->item;
|
$this->buffer = (string)$this->item;
|
||||||
$this->size = strlen($this->buffer);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user