Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18378

Re: phpstorm: implement method final

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: phpstorm: implement method final
Date Fri, 9 Oct 2020 14:52:39 +0200
Lines 30
Message-ID <hub4onFsm4hU1@mid.individual.net> (permalink)
References <rlmggr$1mjq$1@gioia.aioe.org> <hu8sh1Fe9l5U1@mid.individual.net> <rlpdj2$d61$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net d0kmPu/OzDG5zrWRMDc1vAdWD/gitrqePvkbUbtrua4YZiBzmS
Cancel-Lock sha1:J2o1uBU4NRNhhEtnxF6Q3raZIlI=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0
In-Reply-To <rlpdj2$d61$1@gioia.aioe.org>
Content-Language en-US-large
Xref csiph.com comp.lang.php:18378

Show key headers only | View raw


On 09/10/2020 12:21, alex wrote:
> Il 08/10/20 18:19, J.O. Aho ha scritto:
>> On 08/10/2020 09:52, alex wrote:
>>
>>> But I would like the methods implemented through phpstorm to be final.
>>
>> If you want to auto prefix a funcion with final, then ask how to do 
>> that in phpstorm at the jetbrain web forum.
>>
>>> class C implements I {
>>>    final public function sniff() {
>>>       // TODO: Implement sniff() method.
>>>    }
>>> }
>>>
>>> You can?
>>
>> https://www.php.net/manual/en/language.oop5.final.php
>>
> 
> ????

That is the documentation about final in PHP, something that been 
supported since 2004. I do recommend you take a look at it and maybe 
read the comments too, so you know how it works in php.


-- 

  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

phpstorm: implement method final alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-08 09:52 +0200
  Re: phpstorm: implement method final "J.O. Aho" <user@example.net> - 2020-10-08 18:19 +0200
    Re: phpstorm: implement method final alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-09 12:21 +0200
      Re: phpstorm: implement method final Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 13:55 +0200
      Re: phpstorm: implement method final "J.O. Aho" <user@example.net> - 2020-10-09 14:52 +0200
        Re: phpstorm: implement method final Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 23:46 +0200
          Re: phpstorm: implement method final "J.O. Aho" <user@example.net> - 2020-10-10 10:08 +0200
          Re: phpstorm: implement method final alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-10 13:40 +0200
            Re: phpstorm: implement method final "J.O. Aho" <user@example.net> - 2020-10-10 14:33 +0200
              Re: phpstorm: implement method final alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-11 10:09 +0200
  Re: phpstorm: implement method final Jerry Stuckle <jstucklex@attglobal.net> - 2020-10-08 12:22 -0400
    Re: phpstorm: implement method final alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-09 12:21 +0200
      Re: phpstorm: implement method final Jerry Stuckle <jstucklex@attglobal.net> - 2020-10-09 13:42 -0400
  Re: phpstorm: implement method final Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 23:47 +0200

csiph-web