Article View: pl.comp.lang.php
Article #232048Re: Laravel - jak to to działa?
From: Rafal Podsiadly
Date: Fri, 07 Dec 2018 05:50
Date: Fri, 07 Dec 2018 05:50
5 lines
1917 bytes
1917 bytes
https://stackoverflow.com/questions/4578335/creating-php-class-instance-with-a-string Klase mozna uyworzyc przechowujac jej nazwe w zmiennej. Czyli w efekcie return cache odwołuje sie do klasy cache ktora jest tworzona w momencie wywolania. Z tego co wyczytalem w php.net ten mechanizm jest przestarzaly i nie powinno sie go uzywac.
Technical Details
Message-ID:
<fd0067a6-b2cb-4d89-9ec5-8a01de76e14a@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!weretis.net!feeder4.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!v55no785507qtk.0!news-out.google.com!h3ni416qtk.1!nntp.google.com!v55no785502qtk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<ptsctv$cfj$1@node1.news.atman.pl> <1v0xvyvpzdfv7$.1rpu9f5pj0855.dlg@40tude.net> <pu1k56$dd4$1@node2.news.atman.pl> <h7gl5chedxpp.1jwtzx4lghnpe$.dlg@40tude.net> <pu6m4i$up$1@node2.news.atman.pl> <7367cb98-1e11-4ea9-9b5a-846c6259d56b@googlegroups.com> <puc568$u7g$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
X-Received: by 2002:a37:a315:: with SMTP id m21mr552316qke.30.1544161823679; Thu, 06 Dec 2018 21:50:23 -0800 (PST) X-Received: by 2002:a0c:9e2d:: with SMTP id p45mr10870qve.5.1544161823421; Thu, 06 Dec 2018 21:50:23 -0800 (PST) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!weretis.net!feeder4.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!v55no785507qtk.0!news-out.google.com!h3ni416qtk.1!nntp.google.com!v55no785502qtk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.php Date: Thu, 6 Dec 2018 21:50:23 -0800 (PST) In-Reply-To: <puc568$u7g$1@node1.news.atman.pl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a00:f41:5865:e1e7:0:55:591:cf01; posting-account=reqlzgoAAACKWK1i9kGr8VyQtzu_4AF6 NNTP-Posting-Host: 2a00:f41:5865:e1e7:0:55:591:cf01 References: <ptsctv$cfj$1@node1.news.atman.pl> <1v0xvyvpzdfv7$.1rpu9f5pj0855.dlg@40tude.net> <pu1k56$dd4$1@node2.news.atman.pl> <h7gl5chedxpp.1jwtzx4lghnpe$.dlg@40tude.net> <pu6m4i$up$1@node2.news.atman.pl> <7367cb98-1e11-4ea9-9b5a-846c6259d56b@googlegroups.com> <puc568$u7g$1@node1.news.atman.pl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <fd0067a6-b2cb-4d89-9ec5-8a01de76e14a@googlegroups.com> Subject: Re: Laravel - jak to to działa? From: Rafal Podsiadly <spinacz24@gmail.com> Injection-Date: Fri, 07 Dec 2018 05:50:23 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit