src/Model/ApiResourceBase.php
public function getProperties($lazyLoad = true)
    {
        if ($lazyLoad) {
            $this->ensureFull();
        }
        $keys = $this->getPropertyNames();

        return array_intersect_key($this->data, array_flip($keys));
    }
public function getProperties($lazyLoad = true)
    {
        if ($lazyLoad) {
            $this->ensureFull();
        }
        $keys = $this->getPropertyNames();

        return array_intersect_key($this->data, array_flip($keys));
    }
public function getProperties ( $ lazyLoad = true ) { if ( $ lazyLoad ) { $ this -> ensureFull ( ) ; } $ keys = $ this -> getPropertyNames ( ) ; return array_intersect_key ( $ this -> data , array_flip ( $ keys ) ) ; }
Get an array of this resource's properties and their values.

@param bool $lazyLoad

@return array
Get an array of this resource s properties and their values .