for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Coco\SourceWatcher\Watcher\Source;
use Coco\SourceWatcher\Watcher\Handler\Handler;
use Coco\SourceWatcher\Watcher\Handler\WebPageHandler;
class WebPageSource implements Source
{
protected String $url;
protected WebPageHandler $handler;
public function __construct ( String $url )
$this->url = $url;
$this->handler = new WebPageHandler( $url );
}
public function getUrl () : String
return $this->url;
public function setUrl ( String $url ) : void
public function getHandler () : Handler
return $this->handler;
public function setHandler ( Handler $handler ) : void
$this->handler = $handler;