Your IP : 3.147.104.221


Current Path : /var/www/axolotl/data/www/nn.axolotls.ru/bitrix/modules/forum/lib/internals/
Upload File :
Current File : /var/www/axolotl/data/www/nn.axolotls.ru/bitrix/modules/forum/lib/internals/entitybasemethods.php

<?php
namespace Bitrix\Forum\Internals;
trait EntityBaseMethods
{
	/** @var int */
//	protected $id = 0;
	/** @var array */
//	protected $data = [];

	public function getId()
	{
		return $this->id;
	}

	public function getData()
	{
		return $this->data;
	}

	public function offsetExists($offset)
	{
		return array_key_exists($offset, $this->data);
	}

	public function offsetGet($offset)
	{
		return $this->data[$offset];
	}

	public function offsetSet($offset, $value)
	{

	}

	public function offsetUnset($offset)
	{

	}
}