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

[2.0.x] [NFR] Added method generate random text #10571

Merged
merged 2 commits into from
Jul 3, 2015

Conversation

KorsaR-ZN
Copy link
Contributor

Generates random text in accordance with the template:

echo Phalcon\Text::dynamic("{Hi|Hello}, my name is a {Bob|Mark|Jon}!"); 
    // Hi my name is a Bob

echo Phalcon\Text::dynamic("{Hi|Hello}, my name is a {Bob|Mark|Jon}!");
    // Hi my name is a Jon

echo Phalcon\Text::dynamic("{Hi|Hello}, my name is a {Bob|Mark|Jon}!");
   // Hello my name is a Bob

@KorsaR-ZN KorsaR-ZN force-pushed the NFR-4 branch 2 times, most recently from e64fd49 to bcccc84 Compare June 30, 2015 14:23
@sergeyklay
Copy link
Contributor

Can you please add small test?

@KorsaR-ZN KorsaR-ZN force-pushed the NFR-4 branch 3 times, most recently from c43f476 to bb4cabd Compare July 1, 2015 07:56
@andresgutierrez
Copy link
Contributor

Could you please rebase?

@KorsaR-ZN
Copy link
Contributor Author

@andresgutierrez rebased

@KorsaR-ZN KorsaR-ZN closed this Jul 2, 2015
@KorsaR-ZN KorsaR-ZN reopened this Jul 2, 2015
andresgutierrez added a commit that referenced this pull request Jul 3, 2015
[2.0.x] [NFR] Added method generate random text
@andresgutierrez andresgutierrez merged commit 17a30e2 into phalcon:2.0.x Jul 3, 2015
@andresgutierrez
Copy link
Contributor

Thanks

@KorsaR-ZN KorsaR-ZN deleted the NFR-4 branch July 3, 2015 05:37
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.

3 participants