Last active
August 29, 2015 14:17
-
-
Save ravage84/dde433b44d24d38e8e08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('AppHelper', 'View/Helper'); | |
class StringyHelper extends AppHelper { | |
/** | |
* Call any Stringy method with the given arguments | |
* | |
* @return mixed | |
*/ | |
public function __call($method, $arguments) { | |
return call_user_func_array("\Stringy\Stringy::$method", $arguments); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
danke :)