jjok / path-modifier
This package is abandoned and no longer maintained.
No replacement package was suggested.
Modify your include path.
1.0.0
2013-10-16 15:03 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2020-01-20 07:50:27 UTC
README
Change your include path.
Examples
use jjok\PathModifier\PathModifier;
Get the current include path.
PathModifier::get();
Set the include path, overwriting the current value.
PathModifier::set('/my/new/path');
Append the current include path.
PathModifier::append('/my/new/path');
PathModifier::append('/my/new/path2', '/my/new/path3');
Remove a path.
PathModifier::remove('/path/to/remove');
PathModifier::remove('/path/to/remove2', '/path/to/remove3');
Restore the include path to its original value.
PathModifier::restore();
Copyright (c) 2013 Jonathan Jefferies