31        if ($this->config->has(
'component-styleFilters')) {
 
   32            $customFilters = $this->config->get(
'component-styleFilters');
 
   33            if (isset($customFilters) && is_array($customFilters)) {
 
   34                foreach ($customFilters as $filter => $filterParams) {
 
   35                    $reflection = new \ReflectionClass($filter);
 
   36                    $filters[] = $reflection->newInstanceArgs($filterParams);
 
   45        foreach (
$styles as $package => $packageStyles) {
 
   47            $packagePath = $this->componentDir.
'/'.$package;
 
   49            foreach ($packageStyles as 
$style => $paths) {
 
   50                foreach ($paths as 
$path) {
 
   52                    $assetPath = realpath(
$path);
 
   54                    $sourceRoot = dirname(
$path);
 
   56                    $sourcePath = $package . 
'/' . 
$style;
 
   59                    if(preg_match(
'~^\*(\.[^\.]+)$~', 
$filename, $matches)){
 
   60                        $sourcePath = str_replace(
$filename, basename($assetPath), $sourcePath);
 
   65                    $asset = 
new FileAsset($assetPath, $filterCollection, $sourceRoot, $sourcePath);
 
   66                    $asset->setTargetPath($targetPath);
 
   69                    $sourcePath = preg_replace(
'{^.*'.preg_quote($package).
'/}', 
'', $sourcePath);
 
   70                    $asset = 
new FileAsset($assetPath, $filterCollection, $sourceRoot, $sourcePath);
 
   71                    $asset->setTargetPath($packagePath);
 
   72                    $packageAssets->add($asset);
 
   76            if (file_put_contents($packagePath.
'/'.$package.
'-built.css', $packageAssets->dump()) === FALSE) {
 
   77                $this->io->write(
"<error>Error writing $package-built.css to destination</error>");
 
   81        if (file_put_contents($this->componentDir . 
'/require.css', $assets->dump()) === FALSE) {
 
   82            $this->io->write(
'<error>Error writing require.css to destination</error>');
 
  105            $extra = isset($package[
'extra']) ? $package[
'extra'] : array();
 
  107            $component = isset($extra[
'component']) ? $extra[
'component'] : array();
 
  108            $styles = isset($component[
'styles']) ? $component[
'styles'] : array();
 
Represents an asset loaded from a file.
An exception for terminatinating execution or to throw for unit testing.
getComponentName($prettyName, array $extra=array())
Retrieves the component name for the component.
getVendorDir(array $package)
Retrieves the given package's vendor directory, where it's installed.
Builds the require.css file from all Component stylesheets.
packageStyles(array $packages)
Retrieves an array of styles from a collection of packages.
process()
{{Called when running through the process.boolean True or false depending on whether the process was ...
if(!is_dir( $entity_dir)) exit("Fatal Error ([A-Za-z0-9]+)\s+" &#(? foreach( $entity_files as $file) $output
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file