<?php is_file(string $filename): bool
<?php public function get($id) { $handlerFile = $this->directory . '/' . $id; if (! is_file($handlerFile)) { throw new HandlerNotFound("Handler `$handlerFile` doesn't exist"); }
<?php public function has($id): bool { return is_file($this->directory . '/' . $id); } }