Skip to content

0.1.10 - Multiple View Paths

Compare
Choose a tag to compare
@rraub rraub released this 09 Nov 20:10
· 65 commits to prod since this release

Now you can add multiple view paths into the configuration singleton and Nectary will traverse over them in order to resolve your view template.

new method _add_ for Nectary\Configuration singleton:

$instance = \Nectary\Configuration::get_instance();
$instance->add( 'path_to_views', '/new/path' );

Takes the place of set and allows for multiple calls to add which wont overwrite the previous values.