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

[NFR] Get collections #2488

Closed
ruudboon opened this issue May 31, 2014 · 2 comments
Closed

[NFR] Get collections #2488

ruudboon opened this issue May 31, 2014 · 2 comments

Comments

@ruudboon
Copy link
Member

For a deployment script I would like to get a list of collections from the Phalcon\Assets\Manager so I can apply some specific settings to all the collections.
Unfortunately there is no way to retrieve all registered collections.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ruudboon
Copy link
Member Author

ruudboon commented Jun 2, 2014

Anybody who's eager to get the registered collections. The _collections is a protected var.

class assets extends \Phalcon\Assets\Manager {
        public function getCollections(){
            return $this->_collections;
        }
}

andresgutierrez added a commit that referenced this issue Jun 10, 2015
@andresgutierrez
Copy link
Contributor

Implemented in Phalcon 2.0.4

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

No branches or pull requests

2 participants