> I know that the `fn` Syntax is already used for arrow functions, but what
i
> am suggesting is that, can't we make `fn` to be used in naming methods in
> class? (this will be optional though),
Hello Oladoyinbo,
Personally for me, if I see `fn` in methods instead of `function` I would
expect
it behave as `fn`-anonymous arrow function. E.g.:
```php
class Example
{
public fn getMyProperty() -> $this->myProperty;
}
```
What do you think about it?
Best regards,
Oleksii Bulba
On Thu, 2 Nov 2023, 21:31 Oladoyinbo Vincent, <oladoyinbov@gmail.com> wrote: