Skip to content

👍 add function conver memmory use to unit (b, kb, mb, gb, tb, pb}#14

Open
anhduca4 wants to merge 2 commits into
mlanin:masterfrom
anhduca4:feat/conver-to-unit
Open

👍 add function conver memmory use to unit (b, kb, mb, gb, tb, pb}#14
anhduca4 wants to merge 2 commits into
mlanin:masterfrom
anhduca4:feat/conver-to-unit

Conversation

@anhduca4

@anhduca4 anhduca4 commented Jan 5, 2019

Copy link
Copy Markdown

No description provided.

Comment thread src/Support/helpers.php Outdated
}


if (! function_exists('convert_to_unit')) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Nice feature, but move this helper to collection itself and make it a little bit more readable

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I have resolve it.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Awesome! And one more, add some tests please

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