Reads the entity data.
@param DataContainer $data
@return $this
424917
public function readData(DataContainer $data)
    {
        $this->name = $data->getString('n', '');
        $this->titles->readData($data->getObject('t'));
        $this->descriptions->readData($data->getObject('d'));
        $this->author = $data->getString('a', '');
        $this->version = $data->getString('v', '');
        $this->fileName = $data->getString('f', '');
        $this->directoryName = $data->getString('i', '');
        $this->dependencies = array_map(function (DataContainer $data): Dependency {
            return (new Dependency())->readData($data);
        }, $data->getObjectArray('e'));
        $this->thumbnailHash = $data->getString('h', '');
        $this->checksum = $data->getString('s', '');
        $this->order = $data->getInteger('o', 0);
        $this->combinationHashes = array_map('strval', $data->getArray('c'));
        return $this;
    }
358871
public function setData($data)
    {
        foreach ($data as $name => $value) {
            if ($this->has($name)) {
                $this->get($name)->setValue($value);
            }
        }
        return $this;
    }
1081710
public function setData($data)
    {
        if (!$data instanceof CollectorInterface) {
            $data = new Collector($data);
        }

        $this->data = $data;

        return $this;
    }
1174384
public function setData($data)
    {
        if (!$data instanceof \SimpleXMLElement) {
            throw new \InvalidArgumentException(__METHOD__ . ' argument should be instance of ' . \SimpleXMLElement::class);
        }

        $this->data = $data;

        return $this;
    }
381554
public function read()
    {
        $container = $this->getDao()->read();
        $this->setValues($container->getValues());
        return $this;
    }
551179
public function setData(\KCH\PCC3\TNaglowekType\DataAnonymousType $data)
    {
        $this->data = $data;
        return $this;
    }
853181
public function with($data)
	{
		if (get_parent_class($data) === \Illuminate\Database\Eloquent\Model::class) {
			$this->data = [
				'source_id' => $data->id,
				'status' => $data->status
			];
		}

		else {
			$this->data = $data;
		}

		return $this;
	}
111809
public function setData($data)
    {
        foreach ($data as $field => $value) {
            $this->set($field, $value);
        }
        return $this;
    }
430888
public function setData($data)
    {
        $this->data = $data instanceof Data ? $data : new Data($data);

        return $this;
    }
264178
public function setData($data)
    {
        $this->data = [];
        $data       = self::normalizeArray($data);

        foreach ($data as $offset => $value) $this->offsetSet($offset, $value);

        return $this;
    }
516496
protected function checkData($data)
    {
        if (!$data instanceof $this->flexible_entity_class) {
            throw new ConverterException(
                sprintf(
                    "This converter only knows how to convert entities of type '%s' ('%s' given).",
                    $this->flexible_entity_class,
                    get_class($data)
                )
            );
        }

        return $this;
    }
537903
public function setData($data)
    {
        foreach ($data as $key => $dtoData) {
            $this->data[$key] = new SummonerSpellDto($dtoData);
        }
    
        return $this;
    }
11488
public function collect($data)
    {
        $this->_map = $this->objectToArray($data);
        $this->_baseContents = &$this->_map;

        return $this;
    }
118236
public function setData(array $data)
    {
        $data = $this->setIdFromData($data);

        parent::setData($data);
        return $this;
    }
1160166
public function from($data)
    {
        if (is_string($data)) {
            $this->message->mergeFromString($data);
        } elseif (!empty($data)) {
            $this->set(Arr::convert($data));
        }

        return $this;
    }
1320661
public function setData($data)
    {
        parent::setData($data);

        //Set the user data
        $this->getSession()->set('user', KObjectConfig::unbox($data));

        return $this;
    }
935137
public function data(array $data)
    {
        $this->columns(array_keys($data))->values(array_values($data));

        return $this;
    }