Skip to content

Instantly share code, notes, and snippets.

View PululuK's full-sized avatar
🖤
Hard Code

PululuK PululuK

🖤
Hard Code
View GitHub Profile
@PululuK
PululuK / polymorphisme.php
Last active May 22, 2020 21:03
polymorphisme concept
class T
{
private $type;
public function __construct(A $a)
{
$this->setType($a);
}
public function getType()