src/JsonApiParser.php
private function start()
    {
        if (Arr::is_assoc($this->data)) {
            $this->data = [$this->data];
        }

        foreach ($this->data as $data) {
            $relationshipsToProcess = $this->resolveResource($data);
            $this->resolveRelationships($relationshipsToProcess);
        }
    }
private function start()
    {
        if (Arr::is_assoc($this->data)) {
            $this->data = [$this->data];
        }

        foreach ($this->data as $data) {
            $relationshipsToProcess = $this->resolveResource($data);
            $this->resolveRelationships($relationshipsToProcess);
        }
    }
private function start ( ) { if ( Arr :: is_assoc ( $ this -> data ) ) { $ this -> data = [ $ this -> data ] ; } foreach ( $ this -> data as $ data ) { $ relationshipsToProcess = $ this -> resolveResource ( $ data ) ; $ this -> resolveRelationships ( $ relationshipsToProcess ) ; } }
Starts the parsing and creating of the relationships.

@return void
@throws \ReflectionException
@throws \Drp\JsonApiParser\Exceptions\MissingResolverException
Starts the parsing and creating of the relationships .