use a phpstorm example that should work in most cases