SHARE
TWEET

Untitled

a guest Jan 12th, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Animal
  2. {
  3.     use Cat, Dog {
  4.         Dog::wantWalkies as protected doggyWalk;
  5.        
  6.         // this next line does not work
  7.         // Dog::wantWalkies as protected insteadof Cat;
  8.        
  9.         Dog::wantWalkies instead of Cat;
  10.         Dog::wantWalkies as protected;
  11.     }
  12. }
RAW Paste Data
Top