Overview

Namespaces

  • Evenement
  • None
  • PHP
  • Psr
    • Http
      • Message
  • Ratchet
    • Http
    • RFC6455
      • Handshake
      • Messaging
    • Server
    • Session
      • Serialize
      • Storage
        • Proxy
    • Wamp
    • WebSocket
  • React
    • EventLoop
      • Tick
      • Timer
    • Socket
    • Stream
  • Symfony
    • Component
      • HttpFoundation
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
      • Routing
        • Annotation
        • Exception
        • Generator
          • Dumper
        • Loader
          • DependencyInjection
        • Matcher
          • Dumper
        • Tests
          • Annotation
          • Fixtures
            • AnnotatedClasses
            • OtherAnnotatedClasses
          • Generator
            • Dumper
          • Loader
          • Matcher
            • Dumper

Classes

  • Timer
  • Timers

Interfaces

  • TimerInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface TimerInterface

Direct known implementers

React\EventLoop\Timer\Timer
Namespace: React\EventLoop\Timer
Located at Timer/TimerInterface.php
Methods summary
public React\EventLoop\LoopInterface
# getLoop( )

Get the loop with which this timer is associated

Get the loop with which this timer is associated

Returns

React\EventLoop\LoopInterface
public float
# getInterval( )

Get the interval after which this timer will execute, in seconds

Get the interval after which this timer will execute, in seconds

Returns

float
public callable
# getCallback( )

Get the callback that will be executed when this timer elapses

Get the callback that will be executed when this timer elapses

Returns

callable
public
# setData( mixed $data )

Set arbitrary data associated with timer

Set arbitrary data associated with timer

Parameters

$data
mixed
$data
public mixed
# getData( )

Get arbitrary data associated with timer

Get arbitrary data associated with timer

Returns

mixed
public boolean
# isPeriodic( )

Determine whether the time is periodic

Determine whether the time is periodic

Returns

boolean
public boolean
# isActive( )

Determine whether the time is active

Determine whether the time is active

Returns

boolean
public
# cancel( )

Cancel this timer

Cancel this timer

Ratchet API documentation generated by ApiGen 2.8.0