public function add($index, $data = null, $toAdmin = false)
	{
		if (!$this->has($index))
		{
			$this->data = Arr::add($this->data, $index, $data);

			$this->metas = Arr::add($this->metas, $this->firstIndex($index), ['admin' => $toAdmin]);
		}

		return $this;
	}
public function add($index, $data = null, $toAdmin = false)
	{
		if (!$this->has($index))
		{
			$this->data = Arr::add($this->data, $index, $data);

			$this->metas = Arr::add($this->metas, $this->firstIndex($index), ['admin' => $toAdmin]);
		}

		return $this;
	}
public function add ( $ index , $ data = null , $ toAdmin = false ) { if ( ! $ this -> has ( $ index ) ) { $ this -> data = Arr :: add ( $ this -> data , $ index , $ data ) ; $ this -> metas = Arr :: add ( $ this -> metas , $ this -> firstIndex ( $ index ) , [ 'admin' => $ toAdmin ] ) ; } return $ this ; }
Append new data

@param string $index Unique identifier
@param null $data
@param bool $toAdmin If show on admin environment
@return $this
Append new data