for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SyncFS;
use SyncFS\Map\MapInterface;
/**
* Class Event
*
* @package SyncFS
* @author Matej Velikonja <[email protected]>
*/
class Event implements EventInterface
{
* @var string
private $buffer;
* @var MapInterface
private $map;
* @param string $buffer
* @param MapInterface $map
public function __construct($buffer, MapInterface $map = null)
$this->buffer = $buffer;
$this->map = $map;
}
* @return string
public function getBuffer()
return $this->buffer;
* @return $this
public function setBuffer($buffer)
return $this;
* @param \SyncFS\Map\MapInterface $map
public function setMap(MapInterface $map)
* @return \SyncFS\Map\MapInterface
public function getMap()
return $this->map;