src/Table/DataObject.php
public function all($object=true)
  {
    $properties = get_object_vars($this);
    
    if ( $object ){
      return (object)$properties;
    }
    
    return $properties;
  }
public function all($object=true)
  {
    $properties = get_object_vars($this);
    
    if ( $object ){
      return (object)$properties;
    }
    
    return $properties;
  }
public function all ( $ object = true ) { $ properties = get_object_vars ( $ this ) ; if ( $ object ) { return ( object ) $ properties ; } return $ properties ; }
Returns an associative array of the object properties

@param   bool  $object  True to return a stdClass
@return  array|\stdClass
Returns an associative array of the object properties