public function pleaseGoThere()

in workshop/01_Navigation/04_Navigate_class_hieracrhies/4.1_Go_to_Implementation.php [16:25]


    public function pleaseGoThere()
    {
        // 1. Put the caret on Customer and Navigate To Implementation.
        //    Get the choice of Customer, SilverCustomer and GoldCustomer.
        //    SilverCustomer and GoldCustomer are indirect implementations because they derive from Customer.
        $customer = new Customer('Ford', 0);

        // 2. Put the caret on GoldCustomer and Navigate To Implementation.
        $customer = new GoldCustomer('Arthur');
    }