MvcLite\FilterChain::addFilter
adds a filter to the chain
Signature
Parameters
$filter
—
\MvcLite\FilterAbstract
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 8
- Passed: 8 (100%)
Tests
- [ PASSED ] — MvcLite\CacheTest::testGetCacheKey with data set "simple testing"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"
- [ PASSED ] — MvcLite\FilterChainTest::testAddFilter with data set "simple test"
- [ PASSED ] — MvcLite\RequestTest::testGetContentType with data set "has content type text/plain"
- [ PASSED ] — MvcLite\RequestTest::testGetContentType with data set "has no content type, but has accept headers"
- [ PASSED ] — MvcLite\RequestTest::testGetContentType with data set "has nothing"
- [ PASSED ] — MvcLite\FilterChainTraitsTest::testGetFilterChain