Merge pull request #24 from sgsabbage/master

Added getStructure() function to the Attachment class.
This commit is contained in:
Robert Hafner 2013-09-04 09:27:37 -07:00
commit 938f8cf574

View File

@ -158,6 +158,16 @@ class Attachment
return $this->size; return $this->size;
} }
/**
* This function returns the object that contains the structure of this attachment.
*
* @return \stdClass
*/
public function getStructure()
{
return $this->structure;
}
/** /**
* This function saves the attachment to the passed directory, keeping the original name of the file. * This function saves the attachment to the passed directory, keeping the original name of the file.
* *