mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-29 05:56:02 +03:00
Added getStructure() function to the Attachment class.
This commit is contained in:
parent
6a8d11e9dd
commit
def9ee5cd7
@ -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.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user