Esempio n. 1
0
 function __construct(globalDto\IDto $dto)
 {
     echo "at the constructor of Ns2, namespace <b>'nameSpace1'</b><br>";
     echo $dto->getAtt() . "<br>";
 }
Esempio n. 2
0
 function __construct(globalDto\IDto $dto)
 {
     echo "at the constructor of Sns2, namaspace <b>'nameSpace2/subNameSpace2'</b><br>";
     echo $dto->getAtt() . "<br>";
 }
Esempio n. 3
0
 function __construct(globalDto\IDto $dto)
 {
     // With namespace  de argument has to  have  globalDto\   and   in this case
     echo "at the constructor of Gc2, namespace <b>'main'</b><br>";
     echo $dto->getAtt() . "<br>";
 }