$this->filters[] = $filterInstance;
}
+ /**
+ * Getter for filters array
+ *
+ * @return $filters The filters array holding all filter instances
+ */
+ protected function getFilters () {
+ return $this->filters;
+ }
+
/**
* Process all added filters
*
public function processFilters (Requestable $requestInstance, Responseable $responseInstance) {
// Run all filters
//* DEBUG */ $this->debugOutput('COUNT=' . count($this->filters));
- foreach ($this->filters as $filterInstance) {
+ foreach ($this->getFilters() as $filterInstance) {
// Try to execute this filter
try {
//* DEBUG */ $this->debugOutput('FILTER: ' . $filterInstance->__toString() . ': Processing started.');