Pipe\Environment::appendPath PHP Method

appendPath() public method

public appendPath ( $path )
    function appendPath($path)
    {
        $this->loadPaths->push($path);
        return $this;
    }

Usage Example

示例#1
0
文件: ContextTest.php 项目: chh/pipe
 function setup()
 {
     $env = new Environment();
     $env->appendPath(__DIR__ . '/fixtures');
     $this->ctx = new Context($env);
     $this->ctx->path = __DIR__ . '/fixtures';
 }
All Usage Examples Of Pipe\Environment::appendPath