API Deprecate ViewableData::Me()

This commit is contained in:
Guy Sartorelli 2024-05-17 14:20:55 +12:00
parent f60e1bc236
commit 9581025e6c
No known key found for this signature in database
GPG Key ID: F313E3B9504D496A

View File

@ -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;
}