Bolt\Configuration\ResourceManager::getPaths PHP Method

getPaths() public method

Just don't use this.
Deprecation: since 3.0, to be removed in 4.0.
public getPaths ( ) : PathsProxy
return PathsProxy
    public function getPaths()
    {
        if ($this->pathsProxy === null) {
            $this->pathsProxy = new PathsProxy($this);
        }
        return $this->pathsProxy;
    }

Usage Example

 public function testBoltAppSetup()
 {
     $config = new ResourceManager(TEST_ROOT);
     $app = new Application(array('resources' => $config));
     $this->assertEquals($config->getPaths(), $app['resources']->getPaths());
     // Test that the Application has initialised the resources, injecting in config values.
     $this->assertContains(TEST_ROOT . "/theme", $config->getPath("theme"));
     $this->assertNotEmpty($config->getUrl("canonical"));
 }
All Usage Examples Of Bolt\Configuration\ResourceManager::getPaths