Calling a function within a Class method?

example 1
class TestClass{
public function __call($name,$arg){
class test {
     public function newTest(){

          function bigTest(){
               echo 'Big Test Here';
          function smallTest(){
               echo 'Small Test Here';

$obj=new TestClass;

return $obj;

$rentry=new test;


Popular posts from this blog

Create a Plugin in the in Windows for Processmaker 3.0

Create a Plugin in the in Linux for Processmaker 3.0

Getting Started with Laravel 5.4 with sample CURD