🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #232260

Re: namespaces, autoload i composer

#232260
From: Rafal Podsiadly
Date: Fri, 12 Apr 2019 18:26
19 lines
2042 bytes
W dniu wtorek, 2 kwietnia 2019 11:46:45 UTC+2 użytkownik Borys Pogoreło napisał:
> Dnia Mon, 1 Apr 2019 21:53:51 -0700 (PDT), Rafal Podsiadly napisał(a):
> 
> >> Gdzie popełniam błąd?
> >>
> > Funkcje muszą być metodami w class
> 
> Nie muszą, przestrzenie nazw dotyczą też funkcji i stałych
> 
> https://www.php.net/manual/en/language.namespaces.faq.php#language.namespaces.faq.qualified
> 
> OP pewnie nie zaimportował poprawnie przestrzeni nazw, do której się
> odwołuje.
> 
> -- 
> Borys Pogoreło
> borys(#)leszno,edu,pl

Dzięki nie wiedziałem :)
Technical Details
Message-ID: <d1c2836b-2572-4dbf-95dc-186ee4a1db55@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder7.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!t9no1930565qtn.0!news-out.google.com!i54ni1034qte.0!nntp.google.com!t9no1930555qtn.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <lsrjickd76pk.dlg@tyczka.com> <1a244c68-ec93-4191-a649-4c07114b2239@googlegroups.com> <yi3jp58fokmy.1hv0ta9k536do.dlg@40tude.net>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a0c:f68e:: with SMTP id p14mr6008624qvn.60.1555093579087;        Fri, 12 Apr 2019 11:26:19 -0700 (PDT)
X-Received: by 2002:a0c:b342:: with SMTP id a2mr44457656qvf.211.1555093578894; Fri, 12 Apr 2019 11:26:18 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder7.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!t9no1930565qtn.0!news-out.google.com!i54ni1034qte.0!nntp.google.com!t9no1930555qtn.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.php
Date: Fri, 12 Apr 2019 11:26:18 -0700 (PDT)
In-Reply-To: <yi3jp58fokmy.1hv0ta9k536do.dlg@40tude.net>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:a31d:8439:7b80:6960:c2ee:b257:922d; posting-account=reqlzgoAAACKWK1i9kGr8VyQtzu_4AF6
NNTP-Posting-Host: 2a02:a31d:8439:7b80:6960:c2ee:b257:922d
References: <lsrjickd76pk.dlg@tyczka.com> <1a244c68-ec93-4191-a649-4c07114b2239@googlegroups.com> <yi3jp58fokmy.1hv0ta9k536do.dlg@40tude.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d1c2836b-2572-4dbf-95dc-186ee4a1db55@googlegroups.com>
Subject: Re: namespaces, autoload i composer
From: Rafal Podsiadly <spinacz24@gmail.com>
Injection-Date: Fri, 12 Apr 2019 18:26:19 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit