Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Foundation] added the env and debug information in the project conta…
…iner class name to avoid potential clashes if you manipulate several container in the same PHP script
- Loading branch information
abe86d2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
$this->name
contains invalid PHP class name characters everything will obviously break. Since thename
property is derived from the project's directory, perhaps sanitizingname
either here or in the constructor would be appropriate? I've been using a simple hotfix because I often use hyphens in my project shortnames and therefore in the directory names as well.abe86d2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in 1a3790a