. */ namespace GameQ\Filters; use GameQ\Server; /** * Abstract base class which all filters must inherit * * @author Austin Bischoff */ abstract class Base { /** * Holds the options for this instance of the filter * * @type array */ protected $options = []; /** * Construct * * @param array $options */ public function __construct(array $options = []) { $this->options = $options; } /** * Apply the filter to the data * * @param array $result * @param \GameQ\Server $server * * @return mixed */ abstract public function apply(array $result, Server $server); }