Exemple #1
0
 static function SetConnection(mysqli $newConnection)
 {
     Tweet::$connection = $newConnection;
 }
Exemple #2
0
 public static function SetConnection(mysqli $newConnection)
 {
     //z duzej litery funkcja bo jest statyczna
     Tweet::$connection = $newConnection;
 }