Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation in Serialization class #57

Merged
merged 10 commits into from
Feb 4, 2017
Merged

Documentation in Serialization class #57

merged 10 commits into from
Feb 4, 2017

Conversation

vitormattos
Copy link
Contributor

No description provided.

/**
* Serialize MTProto class
* @param string $filename the dump file
* @param MTProto $instance
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • @param \danog\MadelineProto\API $instance

* Serialize MTProto class
* @param string $filename the dump file
* @param MTProto $instance
* @param string $force
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
* Deserialize MTPRoto class
* @param string $filename
* @return boolean|MTProto
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@return boolean|\danog\MadelineProto\API

Copy link
Owner

@danog danog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PICKY AF XD

*
* @param string $filename the dump file
* @param MTProto $instance
* @param string $force
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a boolean.

* Serialize MTProto class.
*
* @param string $filename the dump file
* @param MTProto $instance
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an instance of \danog\MadelineProto\API

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry!

*
* @param string $filename
*
* @return bool|MTProto
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an instance of \danog\MadelineProto\API

@vitormattos
Copy link
Contributor Author

My last commit is after 3 beers! sorry! :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants