Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

DriverCallback.php

Namespace

Revolt\EventLoop\Internal

File

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
RSS feed
Powered by Drupal