mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Deprecate ViewableData::Me()
This commit is contained in:
parent
f60e1bc236
commit
9581025e6c
@ -673,9 +673,13 @@ class ViewableData implements IteratorAggregate
|
||||
* access to itself.
|
||||
*
|
||||
* @return ViewableData
|
||||
* @deprecated 5.3.0 Will be replaced with special handling in templates.
|
||||
*/
|
||||
public function Me()
|
||||
{
|
||||
Deprecation::withNoReplacement(
|
||||
fn () => Deprecation::notice('5.3.0', 'Will be replaced with special handling in templates.')
|
||||
);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user