File tree Expand file tree Collapse file tree 2 files changed +0
-71
lines changed Expand file tree Collapse file tree 2 files changed +0
-71
lines changed Original file line number Diff line number Diff line change @@ -189,26 +189,6 @@ public function setAttributes(array $attributes)
189
189
return $ this ;
190
190
}
191
191
192
- /**
193
- * Set attribs for image tag
194
- *
195
- * @param array $attribs
196
- * @return Gravatar
197
- *
198
- * @deprecated Please use Laminas\View\Helper\Gravatar::setAttributes
199
- */
200
- public function setAttribs (array $ attribs )
201
- {
202
- trigger_error (sprintf (
203
- '%s is deprecated; please use %s::setAttributes ' ,
204
- __METHOD__ ,
205
- __CLASS__
206
- ), E_USER_DEPRECATED );
207
-
208
- $ this ->setAttributes ($ attribs );
209
- return $ this ;
210
- }
211
-
212
192
/**
213
193
* Get attributes of image
214
194
*
@@ -224,29 +204,6 @@ public function getAttributes()
224
204
return $ this ->attributes ;
225
205
}
226
206
227
- /**
228
- * Get attribs of image
229
- *
230
- * Warning!
231
- * If you set src attrib, you get it, but this value will be overwritten in
232
- * protected method setSrcAttribForImg(). And finally your get other src
233
- * value!
234
- *
235
- * @return array
236
- *
237
- * @deprecated Please use Laminas\View\Helper\Gravatar::getAttributes
238
- */
239
- public function getAttribs ()
240
- {
241
- trigger_error (sprintf (
242
- '%s is deprecated; please use %s::getAttributes ' ,
243
- __METHOD__ ,
244
- __CLASS__
245
- ), E_USER_DEPRECATED );
246
-
247
- return $ this ->getAttributes ();
248
- }
249
-
250
207
/**
251
208
* Set default img
252
209
*
Original file line number Diff line number Diff line change @@ -36,34 +36,6 @@ class Registry
36
36
*/
37
37
protected $ items = [];
38
38
39
- /**
40
- * Retrieve or create registry instance
41
- *
42
- * @return Registry
43
- */
44
- public static function getRegistry ()
45
- {
46
- trigger_error ('Placeholder view helpers should no longer use a singleton registry ' , E_USER_DEPRECATED );
47
- if (null === static ::$ instance ) {
48
- static ::$ instance = new static ();
49
- }
50
-
51
- return static ::$ instance ;
52
- }
53
-
54
- /**
55
- * Unset the singleton
56
- *
57
- * Primarily useful for testing purposes; sets {@link $instance} to null.
58
- *
59
- * @return void
60
- */
61
- public static function unsetRegistry ()
62
- {
63
- trigger_error ('Placeholder view helpers should no longer use a singleton registry ' , E_USER_DEPRECATED );
64
- static ::$ instance = null ;
65
- }
66
-
67
39
/**
68
40
* Set the container for an item in the registry
69
41
*
You can’t perform that action at this time.
0 commit comments