Skip to content

Quickstart DI interface error #3

@tinpansoul

Description

@tinpansoul

Hi, i've cloned repo and get this:

Catchable fatal error: Argument 1 passed to Phrest\API\PhrestAPI::__construct() must be an instance of Phrest\API\DI\PhrestDIInterface, instance of Phrest\Skeleton\Common\APIDI given, called in /var/www/api/public/index.php on line 17 and defined in /var/www/api/vendor/phrest/api/src/PhrestAPI.php on line 39

Call Stack:
    0.0035     242152   1. {main}() /var/www/api/public/index.php:0
    0.0303     347720   2. Phrest\API\PhrestAPI->__construct() /var/www/api/public/index.php:17

But there is no class implements \Phrest\API\DI\PhrestDIInterface at all. And i don't know how to implement it because all three methods, as i see, don't use anywhere.

How to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions