Task: Implement a small helper class to satisfy Static Call and Static Property Fetch tests
Requirements:
Create a new PHP class Stub\InternalClasses in the file app/Stub/InternalClasses.php.
Implement two instance methods:
testStaticCall(): returns the result of the static method Phalcon\Di::getDefault().
testStaticPropertyFetch(): returns the value of the static constant Phalcon\Mvc\Model\Query::TYPE_DELETE.
Ensure proper namespace and class structure:
Namespace: Stub
Class name: InternalClasses
Public methods: testStaticCall() and testStaticPropertyFetch()
Ensure autoloading is configured so the Stub namespace maps to app/Stub/:
If using composer, update composer.json autoload section to include "Stub\": "app/Stub/"
Run composer dump-autoload (or the project's autoloader equivalent) after changes.
The solution should be placed under /app/ as specified.
Notes:
The PHPUnit tests will skip if Phalcon components are not installed, so the implementation should not rely on Phalcon being present at test time beyond the static calls used.