protected function getAttributes($name, array $attributes)
    {
        $attributes = $this->filterRelationshipAttributes($attributes);

        $factory = $this->triggerFakerOnAttributes(
            $this->getFixture($name)->attributes
        );

        return array_merge($factory, $attributes);
    }
protected function getAttributes($name, array $attributes)
    {
        $attributes = $this->filterRelationshipAttributes($attributes);

        $factory = $this->triggerFakerOnAttributes(
            $this->getFixture($name)->attributes
        );

        return array_merge($factory, $attributes);
    }
protected function getAttributes ( $ name , array $ attributes ) { $ attributes = $ this -> filterRelationshipAttributes ( $ attributes ) ; $ factory = $ this -> triggerFakerOnAttributes ( $ this -> getFixture ( $ name ) -> attributes ) ; return array_merge ( $ factory , $ attributes ) ; }
Merge the fixture with any potential overrides.

@param  string $name
@param  array  $attributes
@return array
@throws TestDummyException
Merge the fixture with any potential overrides .