added symfony framework integration
fixed wrong null definition