What is the best of calling a method in child class. My IDE always shows Errors if i try to call the method directly. 

```
    class Base
    {
        public function DoIt()
        {
            $this->Generate(); //How to check if child implements Generate?
        }
    }

    class Child extends Base
    {
       protected function Generate()
       {
            echo "Hi";
       }
    }

```