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

Render property on template #408

Open
oscarnovasf opened this issue Jan 21, 2021 · 1 comment
Open

Render property on template #408

oscarnovasf opened this issue Jan 21, 2021 · 1 comment

Comments

@oscarnovasf
Copy link

I have this on my phpdox.xml

<?xml version="1.0" encoding="utf-8" ?>

<phpdox xmlns="http://xml.phpdox.net/config" silent="false">

  <project name="Project name" source="${basedir}" workdir="${basedir}/.tmp-doc/phpdox/xml">

    <property name="author" value="Author name" />

How can I access this property value from the template?

@theseer
Copy link
Owner

theseer commented Jan 31, 2021

Hi, interesting question that even made me look up the code to be sure before I answer ;)

Currently, we do not expose these into the rendering process. It's a config only value.
But it sounds like an interesting enhancement.

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