Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Rx; /** * Represents a notification to an observer. */ abstract class ..
Decoded Output download
<?php
namespace Rx;
/**
* Represents a notification to an observer.
*/
abstract class Notification
{
private $kind;
private $hasValue;
/**
* @param mixed $kind Kind of notification
* @param boolean $hasValue If the notification has a value
*/
public function __construct($kind, $hasValue = false)
{
$this->kind = $kind;
$this->hasValue = $hasValue;
}
public function accept($observerOrOnNext, $onError = null, $onCompleted = null)
{
if (null === $onError && null === $onCompleted && $observerOrOnNext instanceof ObserverInterface) {
$this->doAcceptObservable($observerOrOnNext);
return;
}
return $this->doAccept($observerOrOnNext, $onError, $onCompleted);
}
public function equals($other)
{
return (string)$this === (string)$other;
}
abstract protected function doAcceptObservable(ObserverInterface $observer);
abstract protected function doAccept($onNext, $onError, $onCompleted);
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Rx;
/**
* Represents a notification to an observer.
*/
abstract class Notification
{
private $kind;
private $hasValue;
/**
* @param mixed $kind Kind of notification
* @param boolean $hasValue If the notification has a value
*/
public function __construct($kind, $hasValue = false)
{
$this->kind = $kind;
$this->hasValue = $hasValue;
}
public function accept($observerOrOnNext, $onError = null, $onCompleted = null)
{
if (null === $onError && null === $onCompleted && $observerOrOnNext instanceof ObserverInterface) {
$this->doAcceptObservable($observerOrOnNext);
return;
}
return $this->doAccept($observerOrOnNext, $onError, $onCompleted);
}
public function equals($other)
{
return (string)$this === (string)$other;
}
abstract protected function doAcceptObservable(ObserverInterface $observer);
abstract protected function doAccept($onNext, $onError, $onCompleted);
}
Function Calls
None |
Stats
MD5 | a3c465e4d000c436f78200f846d86d22 |
Eval Count | 0 |
Decode Time | 107 ms |