PHP: Simplifying constructor

Simplifying the constructor and relying solely on parser factory methods.