sayHello() public method

public sayHello ( )
Example #1
0
<?php

require __DIR__ . "/src/hello.php";
use Com\Iesebre\Dam2\rogermelich\helloworldComposer\hello;
/**
 * Created by PhpStorm.
 * User: roger
 * Date: 6/10/15
 * Time: 19:33
 */
$greatings = new Hello();
$greatings->sayHello();
Example #2
0
<?php

/**
 * Created by PhpStorm.
 * User: jim
 * Date: 2015/11/5
 * Time: 22:54
 */
require_once 'hello1.php';
$h = new Hello();
$h->sayHello();
$d = new Desktop();
$d->work();
Example #3
0
<?php

require_once "lib/Core.php";
require_once "obj/Hello.php";
// インスタンス生成
$obj = new Hello();
// Hello World!!
$obj->sayHello();
Example #4
0
<?php

//require "Hello.php";
require __DIR__ . "/Hello.php";
$greetings = new Hello();
$greetings->sayHello();