interface iTemplate {
const MYCONST = 50;
public function setVariable($var);
public function getHtml($template);
}
class BadTemplate implements iTemplate{
const MYCONST = 100;
public function setVariable($var, $name)
{
//КОД
}
}