@@ 118-127 (lines=10) @@ | ||
115 | /** |
|
116 | * @return AnnotationDriver |
|
117 | */ |
|
118 | protected function createEmptyDriver() |
|
119 | { |
|
120 | $reader = new CachedReader( |
|
121 | new AnnotationReader(), |
|
122 | new FilesystemCache($this->cacheDirectory), |
|
123 | $debug = true |
|
124 | ); |
|
125 | ||
126 | return new AnnotationDriver($reader); |
|
127 | } |
|
128 | ||
129 | /** |
|
130 | * @return AnnotationDriver |
|
@@ 132-141 (lines=10) @@ | ||
129 | /** |
|
130 | * @return AnnotationDriver |
|
131 | */ |
|
132 | protected function createDriverWithInvalidPaths() |
|
133 | { |
|
134 | $reader = new CachedReader( |
|
135 | new AnnotationReader(), |
|
136 | new FilesystemCache($this->cacheDirectory), |
|
137 | $debug = true |
|
138 | ); |
|
139 | ||
140 | return new AnnotationDriver($reader, [__DIR__.'/../../Fixtures/Foo']); |
|
141 | } |
|
142 | ||
143 | /** |
|
144 | * Test excludePaths method. |