I want to reuse of code for-example for checking error i write die or echo many time.
example die("Code is write above this line ").Is there any way that i write it for one time and i give it a name like "help" whenever i write help die("Code is write above this line ") will run .i only know that i have make my helper page in component but i dont know to write the code in component n how i can use it please help me with example.