private static function extractConstants()
    {
        $oClass = new \ReflectionClass(get_called_class());
        $constants = $oClass->getConstants();
        unset(
            $constants['IS_IMPLICIT_ABSTRACT'],
            $constants['IS_EXPLICIT_ABSTRACT'],
            $constants['IS_FINAL']
        );

        return $constants;
    }