芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/testcors.sdektun.com/libraries/src/Association/AssociationServiceTrait.php
* @license GNU General Public License version 2 or later; see LICENSE */ namespace Joomla\CMS\Association; \defined('JPATH_PLATFORM') or die; /** * Trait to implement AssociationServiceInterface * * @since 4.0.0 */ trait AssociationServiceTrait { /** * The association extension. * * @var AssociationExtensionInterface * * @since 4.0.0 */ private $associationExtension = null; /** * Returns the associations extension helper class. * * @return AssociationExtensionInterface * * @since 4.0.0 */ public function getAssociationsExtension(): AssociationExtensionInterface { return $this->associationExtension; } /** * The association extension. * * @param AssociationExtensionInterface $associationExtension The extension * * @return void * * @since 4.0.0 */ public function setAssociationExtension(AssociationExtensionInterface $associationExtension) { $this->associationExtension = $associationExtension; } }