adds PhpCollection handler