Skip to content

Documentation for Factory #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 10, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unneeded "{@inheritdoc}" annotation
  • Loading branch information
clue committed Nov 10, 2017
commit f4e932250aec05207db7b24e1986aef54942edf5
39 changes: 0 additions & 39 deletions src/ExtEventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ function ($signal) {
$this->createStreamCallback();
}

/**
* {@inheritdoc}
*/
public function addReadStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -72,9 +69,6 @@ public function addReadStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function addWriteStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -85,9 +79,6 @@ public function addWriteStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function removeReadStream($stream)
{
$key = (int) $stream;
Expand All @@ -98,9 +89,6 @@ public function removeReadStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function removeWriteStream($stream)
{
$key = (int) $stream;
Expand All @@ -127,9 +115,6 @@ private function removeStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function addTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, false);
Expand All @@ -139,9 +124,6 @@ public function addTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function addPeriodicTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, true);
Expand All @@ -151,9 +133,6 @@ public function addPeriodicTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function cancelTimer(TimerInterface $timer)
{
if ($this->isTimerActive($timer)) {
Expand All @@ -162,41 +141,26 @@ public function cancelTimer(TimerInterface $timer)
}
}

/**
* {@inheritdoc}
*/
public function isTimerActive(TimerInterface $timer)
{
return $this->timerEvents->contains($timer);
}

/**
* {@inheritdoc}
*/
public function futureTick(callable $listener)
{
$this->futureTickQueue->add($listener);
}

/**
* {@inheritdoc}
*/
public function addSignal($signal, callable $listener)
{
$this->signals->add($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function removeSignal($signal, callable $listener)
{
$this->signals->remove($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function run()
{
$this->running = true;
Expand All @@ -215,9 +179,6 @@ public function run()
}
}

/**
* {@inheritdoc}
*/
public function stop()
{
$this->running = false;
Expand Down
39 changes: 0 additions & 39 deletions src/LibEvLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ function ($signal) {
);
}

/**
* {@inheritdoc}
*/
public function addReadStream($stream, callable $listener)
{
if (isset($this->readEvents[(int) $stream])) {
Expand All @@ -73,9 +70,6 @@ public function addReadStream($stream, callable $listener)
$this->readEvents[(int) $stream] = $event;
}

/**
* {@inheritdoc}
*/
public function addWriteStream($stream, callable $listener)
{
if (isset($this->writeEvents[(int) $stream])) {
Expand All @@ -92,9 +86,6 @@ public function addWriteStream($stream, callable $listener)
$this->writeEvents[(int) $stream] = $event;
}

/**
* {@inheritdoc}
*/
public function removeReadStream($stream)
{
$key = (int) $stream;
Expand All @@ -105,9 +96,6 @@ public function removeReadStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function removeWriteStream($stream)
{
$key = (int) $stream;
Expand All @@ -118,9 +106,6 @@ public function removeWriteStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function addTimer($interval, callable $callback)
{
$timer = new Timer( $interval, $callback, false);
Expand All @@ -140,9 +125,6 @@ public function addTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function addPeriodicTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, true);
Expand All @@ -158,9 +140,6 @@ public function addPeriodicTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function cancelTimer(TimerInterface $timer)
{
if (isset($this->timerEvents[$timer])) {
Expand All @@ -169,41 +148,26 @@ public function cancelTimer(TimerInterface $timer)
}
}

/**
* {@inheritdoc}
*/
public function isTimerActive(TimerInterface $timer)
{
return $this->timerEvents->contains($timer);
}

/**
* {@inheritdoc}
*/
public function futureTick(callable $listener)
{
$this->futureTickQueue->add($listener);
}

/**
* {@inheritdoc}
*/
public function addSignal($signal, callable $listener)
{
$this->signals->add($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function removeSignal($signal, callable $listener)
{
$this->signals->remove($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function run()
{
$this->running = true;
Expand All @@ -222,9 +186,6 @@ public function run()
}
}

/**
* {@inheritdoc}
*/
public function stop()
{
$this->running = false;
Expand Down
40 changes: 0 additions & 40 deletions src/LibEventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Event;
use EventBase;
use React\EventLoop\Signal\Pcntl;
use React\EventLoop\Tick\FutureTickQueue;
use React\EventLoop\Timer\Timer;
use React\EventLoop\Timer\TimerInterface;
Expand Down Expand Up @@ -64,9 +63,6 @@ function ($signal) {
$this->createStreamCallback();
}

/**
* {@inheritdoc}
*/
public function addReadStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -77,9 +73,6 @@ public function addReadStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function addWriteStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -90,9 +83,6 @@ public function addWriteStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function removeReadStream($stream)
{
$key = (int) $stream;
Expand All @@ -103,9 +93,6 @@ public function removeReadStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function removeWriteStream($stream)
{
$key = (int) $stream;
Expand Down Expand Up @@ -135,9 +122,6 @@ private function removeStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function addTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, false);
Expand All @@ -147,9 +131,6 @@ public function addTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function addPeriodicTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, true);
Expand All @@ -159,9 +140,6 @@ public function addPeriodicTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function cancelTimer(TimerInterface $timer)
{
if ($this->isTimerActive($timer)) {
Expand All @@ -174,41 +152,26 @@ public function cancelTimer(TimerInterface $timer)
}
}

/**
* {@inheritdoc}
*/
public function isTimerActive(TimerInterface $timer)
{
return $this->timerEvents->contains($timer);
}

/**
* {@inheritdoc}
*/
public function futureTick(callable $listener)
{
$this->futureTickQueue->add($listener);
}

/**
* {@inheritdoc}
*/
public function addSignal($signal, callable $listener)
{
$this->signals->add($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function removeSignal($signal, callable $listener)
{
$this->signals->remove($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function run()
{
$this->running = true;
Expand All @@ -227,9 +190,6 @@ public function run()
}
}

/**
* {@inheritdoc}
*/
public function stop()
{
$this->running = false;
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy