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

AssetFactory::createAsset(array $input, ...); - $input doesn't accept \Assetic\Asset #203

Open
krnlde opened this issue Mar 15, 2012 · 1 comment

Comments

@krnlde
Copy link

krnlde commented Mar 15, 2012

I got a problem which I extensively explained on StackOverflow (http://stackoverflow.com/questions/9720887/assetic-write-asset).

My problem is that the AssetFactory::createAsset(); method doesn't accept real Assets as array elements. Only path strings are allowed. But I need the ability to place e.g. StringAsset there.

Is there simply no possibility to combine & minify Assets, dump them via AssetWriter::writeAsset() and return the generated file name via getTargetPath() or am I considering the wrong classes and methods here?

Thanks in advance!

@yguedidi
Copy link
Contributor

+1

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