Parser function |
I'm wondering why CodeIgniter doesn't provide parser function to grab Parser Class
![]() ![]() for example: before "as documentation": PHP Code: /* loading parser class through its service. */ I wrote this function and placed it in app/Common.php, "actually just copy and paste" ![]() PHP Code: function parser(string $name, array $data = [], array $options = []): string after: PHP Code: /* now we can use it in one short line. */ it's works as expected, so can it added officially to CodeIgniter 4? ![]() btw I couldn't pull a request on github it's so difficult there. ![]() |
Messages In This Thread |
Parser function - by Mostafa Khudair - 02-09-2020, 12:05 PM
RE: Parser function - by mjamilasfihani - 02-10-2020, 03:18 AM
|