Skip to content
This repository was archived by the owner on Jan 3, 2020. It is now read-only.

Conversation

@m1
Copy link

@m1 m1 commented Sep 4, 2015

e.g.

parameters.yml:

twig.path:
    - %basepath%/app/views
    - %basepath%/vendor/example/views

index.php:

...
$app->register(new DerAlex\Silex\YamlConfigServiceProvider('config.yml', [
    'basepath' => realpath(__DIR__.'/../..')
]));
...

Also:

  • Updated docs to include info about replacement variables and imports.
  • Cleaned up code a bit.

@ghost
Copy link

ghost commented Dec 2, 2015

Anything holding up this merge or a similar feature for variable replacement?

@m1
Copy link
Author

m1 commented Dec 8, 2015

@ptrerotolact Check this https://github.com/m1/Vars -- I decided to make my own lib because no silex providers had everything I was looking for

@ghost
Copy link

ghost commented Dec 8, 2015

Thanks! Ill have to try this out next time.

On Tue, Dec 8, 2015 at 7:21 AM, Miles Croxford [email protected]
wrote:

@ptrerotolact https://github.com/ptrerotolact Check this
https://github.com/m1/Vars -- I decided to make my own lib because no
silex providers had everything I was looking for


Reply to this email directly or view it on GitHub
#12 (comment)
.

Peter Trerotola *l *Lead Software Engineer

ConsumerTrack, Inc. l www.consumertrack.com

Los Angeles, CA l New York, NY
HQ: 2121 Rosecrans Ave., Suite 1300, El Segundo, CA 90245
Office (310) 297-9233 / Fax (310) 297-9235

Email: [email protected]

Skype: cti.peter.trerotola

...................................................................

CONFIDENTIALITY NOTICE:
This communication may contain privileged and/or confidential information.
It is intended solely for the use of the addressee. If you are not the
intended recipient, you are strictly prohibited from disclosing, copying,
distributing or using any of this information. If you received this
communication in error, please contact the sender immediately and destroy
the material in its entirety, whether electronic or hard copy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant