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

Register data Collector #11

Open
4 tasks
chajr opened this issue Nov 2, 2014 · 0 comments
Open
4 tasks

Register data Collector #11

chajr opened this issue Nov 2, 2014 · 0 comments
Assignees
Milestone

Comments

@chajr
Copy link
Member

chajr commented Nov 2, 2014

list of all objects called by Register including informations about:

  • execution time and used memory
  • given data in constructor
  • creation type (object or singleton)
  • name of object and instance
@chajr chajr self-assigned this Nov 2, 2014
@chajr chajr added this to the 0.1.0 milestone Nov 2, 2014
chajr added a commit that referenced this issue Nov 3, 2014
This version introduces multiple enhancements:

added register widget (show how many objects and singletons was called)
allow to give asset url for specified data collector key

Details of additions/deletions below:
--------------------------------------------------------------

Added:      Debug/Collectors/RegisterCollector.php
            -- Added --
                register collector basic version

Modified:   Debug/DebugBar.php
            -- Added --
                MAIN_ASSETS
                ADDITIONAL_ASSETS
                $_additionalAssetsPath contains list of additional assets
                getAdditionalPath return path for additional assets
                setAdditionalAssets set asset path for given data collector key
            -- Updated --
                __construct allow to set additional asset path

Modified:   Debug/Debugger.php
            -- Updated --
                __construct RegisterCollector usage

Modified:   examples/debugbar.php
            -- Updated --
                changed asses definition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant