MiniAsset\AssetScanner::__construct PHP Méthode

__construct() public méthode

Constructor.
public __construct ( array $paths )
$paths array The paths to scan.
    public function __construct(array $paths)
    {
        $this->_paths = $paths;
        $this->_expandPaths();
        $this->_normalizePaths();
    }

Usage Example

 /**
  * Constructor.
  *
  * @param array $paths The paths to scan.
  * @param string $theme The current theme.
  */
 public function __construct(array $paths, $theme = null)
 {
     $this->theme = $theme;
     parent::__construct($paths);
 }