1. Go to this page and download the library: Download jgswift/bubblr library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jgswift / bubblr example snippets
interface BubbleInterface extends EventInterface, EventAwareInterface {
public function getResult();
public function setContext($context);
public function resume(SpoutInterface $spout);
public function suspend(SpoutInterface $spout);
}
interface SpoutInterface extends BubblerAwareInterface {
public function push(BubbleInterface $bubble);
public function pop();
public function invoke(BubbleInterface $bubble);
public function suspend();
public function resume();
}
interface BubblerInterface {
public function execute($bubble = null);
public function attach(SpoutInterface $spout);
public function detach(SpoutInterface $spout);
public function resume();
public function suspend();
public function getSpout();
}