<?php
class myClass {
function doSomething() {
}
$newObject = new myClass();
echo $newObject->doSomething();