File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed
Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -122,37 +122,25 @@ public function expiresAfter($time)
122122 /**
123123 * {@inheritdoc}
124124 */
125- public function getTags ()
126- {
127- return $ this ->cacheItem ->getTags ();
128- }
129-
130- /**
131- * {@inheritdoc}
132- */
133- public function setTags (array $ tags )
125+ public function getPreviousTags ()
134126 {
135- $ this ->cacheItem ->setTags ($ tags );
136-
137- return $ this ;
127+ return $ this ->cacheItem ->getPreviousTags ();
138128 }
139129
140130 /**
141131 * {@inheritdoc}
142132 */
143- public function addTag ( $ tag )
133+ public function getTags ( )
144134 {
145- $ this ->cacheItem ->addTag ($ tag );
146-
147- return $ this ;
135+ return $ this ->cacheItem ->getTags ();
148136 }
149137
150138 /**
151139 * {@inheritdoc}
152140 */
153- public function addTags (array $ tags )
141+ public function setTags (array $ tags )
154142 {
155- $ this ->cacheItem ->addTags ($ tags );
143+ $ this ->cacheItem ->setTags ($ tags );
156144
157145 return $ this ;
158146 }
You can’t perform that action at this time.
0 commit comments