DriverCallback.php
Namespace
Revolt\EventLoop\InternalFile
-
vendor/
revolt/ event-loop/ src/ EventLoop/ Internal/ DriverCallback.php
View source
<?php
declare (strict_types=1);
namespace Revolt\EventLoop\Internal;
/**
* @internal
*/
abstract class DriverCallback {
public bool $invokable = false;
public bool $enabled = true;
public bool $referenced = true;
public function __construct(string $id, \Closure $closure) {
}
/**
* @param string $property
*/
public function __get(string $property) : never {
throw new \Error("Unknown property '{$property}'");
}
/**
* @param string $property
* @param mixed $value
*/
public function __set(string $property, mixed $value) : never {
throw new \Error("Unknown property '{$property}'");
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DriverCallback | @internal |