Skip to content
This repository was archived by the owner on Jun 23, 2024. It is now read-only.
This repository was archived by the owner on Jun 23, 2024. It is now read-only.

Q: how to refresh code? #74

@lov3catch

Description

@lov3catch

Hi
When I changed the method body and call this method from psysh - I get results like from the old code.

Example:

function foo() {echo 'foo';}

(psysh): foo();
(psysh): foo

Then I change the func: function foo() {echo 'bar';}

But:

(psysh): foo();
(psysh): foo // <---- Still the same

What did I do wrong? I try unset and cache clean, but the code refreshed only when psysh is restarted.

Note:

  • symfony project is running in docker.
  • when call show foo - the code is fresh and actual.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions