<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php oop traits Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/php-oop-traits/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/php-oop-traits/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 25 Oct 2021 07:20:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>PHP OOP: Traits</title>
		<link>https://www.scmgalaxy.com/tutorials/php-oop-traits/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-oop-traits/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Mon, 25 Oct 2021 07:20:16 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[multi taits use in php oop]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php oop traits]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[scmgalaxy]]></category>
		<category><![CDATA[scmGalaxy Blogs]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmgalaxy php oop]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[single traits use in php oop]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9509</guid>

					<description><![CDATA[<p>What is Traits? Code is shortened by using Traits. One code is used everywhere just by writing the trait function. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-traits/">PHP OOP: Traits</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Traits?</h3>



<ul class="wp-block-list"><li>Code is shortened by using Traits.</li><li>One code is used everywhere just by writing the trait function.</li></ul>



<h3 class="wp-block-heading">Example :</h3>



<script src="https://gist.github.com/vikash-cotocus/fa2cdc30dd529ec34246b195d38fb680.js"></script>



<h3 class="wp-block-heading">Output:</h3>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="551" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-1024x551.png" alt="" class="wp-image-9510" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-1024x551.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-768x414.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-1536x827.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Multi traits use example:</h3>



<script src="https://gist.github.com/vikash-cotocus/bad9c044a8272548d3c404610bb391b2.js"></script>



<h3 class="wp-block-heading">Output:</h3>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="554" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-1024x554.png" alt="" class="wp-image-9511" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-1024x554.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-768x416.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-1536x831.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-traits/">PHP OOP: Traits</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-oop-traits/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
