miquido/observable

View on GitHub
src/ObservableInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Miquido\Observable;

interface ObservableInterface
{
    public function pipe(OperatorInterface $operator): self;

    /**
     * @param ObserverInterface|callable $observer
     */
    public function subscribe($observer): void;
}