src/Resource.php
public function getAttributes()
    {
        $attributes = (array) $this->serializer->getAttributes($this->data, $this->getOwnFields());

        $attributes = $this->filterFields($attributes);

        $attributes = $this->mergeAttributes($attributes);

        return $attributes;
    }
public function getAttributes()
    {
        $attributes = (array) $this->serializer->getAttributes($this->data, $this->getOwnFields());

        $attributes = $this->filterFields($attributes);

        $attributes = $this->mergeAttributes($attributes);

        return $attributes;
    }
public function getAttributes ( ) { $ attributes = ( array ) $ this -> serializer -> getAttributes ( $ this -> data , $ this -> getOwnFields ( ) ) ; $ attributes = $ this -> filterFields ( $ attributes ) ; $ attributes = $ this -> mergeAttributes ( $ attributes ) ; return $ attributes ; }
Get the resource attributes.

@return array
Get the resource attributes .