protected function getArrayableAttributes()
    {
        $attributes              = $this->attributes;
        $attributes['firstname'] = $attributes['first_name'];
        $attributes['lastname']  = $attributes['last_name'];

        return $this->getArrayableItems($attributes);
    }
protected function getArrayableAttributes()
    {
        $attributes              = $this->attributes;
        $attributes['firstname'] = $attributes['first_name'];
        $attributes['lastname']  = $attributes['last_name'];

        return $this->getArrayableItems($attributes);
    }
protected function getArrayableAttributes ( ) { $ attributes = $ this -> attributes ; $ attributes [ 'firstname' ] = $ attributes [ 'first_name' ] ; $ attributes [ 'lastname' ] = $ attributes [ 'last_name' ] ; return $ this -> getArrayableItems ( $ attributes ) ; }
Get an attribute array of all arrayable attributes.

@return array
Get an attribute array of all arrayable attributes .