<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post//</link>
<title><![CDATA[[原]PHP设计模式——单元素模式]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Php]]></category>
<pubDate>Fri, 15 Jul 2011 03:17:25 +0000</pubDate> 
<guid>https://www.linuxfly.org/post//</guid> 
<description>
<![CDATA[ 
	<strong><span style="color: #4169E1;">二、单元素模式</span></strong><br/>&nbsp;&nbsp;&nbsp;&nbsp;单元素模式（Singleton Pattern）指的是在应用程序的范围内只对指定的类创建一个实例。通常该模式中包含一个私有构造方法，用来确保用户无法通过创建对象或者克隆的方式对其进行实例化。除此以外，该模式中还包含一个私有静态属性与公有静态方法。公有静态方法负责对其本身实例化，然后将这个对象存储在私有静态属性中，用来确保只有一个实例被创建。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/php/" rel="tag">php</a> , <a href="https://www.linuxfly.org/tags/pattern/" rel="tag">pattern</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post//#blogcomment</link>
<title><![CDATA[[评论] [原]PHP设计模式——单元素模式]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.linuxfly.org/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>