# ramzes (26.03.2016 / 12:48)
методом научного тыка выяснил что
PHP < 5.6
$this->type = basename(get_class($this)); /* __NAMESPACE__\__CLASS__ */
в 5.6 же basename вернет уже как надо
$this->type = basename(get_class($this));
# ramzes (26.03.2016 / 12:48)
методом научного тыка выяснил что
PHP < 5.6
$this->type = basename(get_class($this)); /* __NAMESPACE__\__CLASS__ */
в 5.6 же basename вернет уже как надо
$this->type = basename(get_class($this));