paths() 공개 메소드

Accessor for paths.
public paths ( ) : array
리턴 array an array of paths.
 public function testExpandStarStar()
 {
     $paths = array($this->_testFiles . 'js' . DS . '**');
     $scanner = new AssetScanner($paths);
     $result = $scanner->paths();
     $expected = array($this->_testFiles . 'js' . DS, $this->_testFiles . 'js' . DS . 'classes' . DS, $this->_testFiles . 'js' . DS . 'secondary' . DS);
     $this->assertEquals($expected, $result);
     $result = $scanner->find('base_class.js');
     $expected = $this->_testFiles . 'js' . DS . 'classes' . DS . 'base_class.js';
     $this->assertEquals($expected, $result);
     $result = $scanner->find('another_class.js');
     $expected = $this->_testFiles . 'js' . DS . 'secondary' . DS . 'another_class.js';
     $this->assertEquals($expected, $result);
 }