Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add symfony profiler panel #858

Merged
merged 2 commits into from
Aug 8, 2021
Merged

Add symfony profiler panel #858

merged 2 commits into from
Aug 8, 2021

Conversation

goetas
Copy link
Collaborator

@goetas goetas commented Jul 24, 2021

inspired by #852

1
3
2

@Tobion
Copy link
Contributor

Tobion commented Dec 3, 2021

Hey @goetas cool feature! I've just tested it. Can it be that calls to \JMS\Serializer\ArrayTransformerInterface::fromArray are not counted towards the deserialization calls?

@goetas
Copy link
Collaborator Author

goetas commented Dec 5, 2021

hmm. that can be, i do not remember testing that use case

Comment on lines +24 to +32
protected function loadFileIfFound($prefix, $dir, \ReflectionClass $class, $extension)
{
$pathData = parent::loadFileIfFound($prefix, $dir, $class, $extension);

if ($pathData[0] !== null) {
$this->files[$class->getName()][$pathData[0]] = $pathData[1];
}
return $pathData;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is broken. It doesn't seem to refer to anything in this project, and seems to never be called, thus not logging anything. I fixed it in #894.

@gam6itko gam6itko mentioned this pull request Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants