title: PHP Class Using Same Name as Trait Function
body: <p>I have the following code as a sample.</p>
  
  <pre><code>trait sampletrait{
     function hello(){
        echo "hello from trait";
     }
  }
  
  class client{
     use sampletrait;
  
     function hello(){
        echo "hello from class";
        //From within here, how do I call traits hello() function also?
     }
  }
  </code></pre>
  
  <p>I could put all the details as to why this is necessary but I want to keep this question simple.  Extending from the class client is not the answer here due to my particular situation.</p>
  
  <p>Is it possible to have a trait have the same function name as the class using it, but call the traits function in addition to the classes function?</p>
  
  <p>Currently it will only use the classes function (as it seems to override the traits)</p>