digipolisgent/robo-digipolis-package

View on GitHub
src/Traits/ThemeCleanTrait.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace DigipolisGent\Robo\Task\Package\Traits;

use DigipolisGent\Robo\Task\Package\ThemeClean;

trait ThemeCleanTrait
{
    /**
     * Creates a ThemeClean task.
     *
     * @param string $dir
     *   The directory of the theme to clean, defaults to the current directory.
     *
     * @return \DigipolisGent\Robo\Task\Package\ThemeClean
     *   The theme clean task.
     */
    protected function taskThemeClean($dir = null)
    {
        return $this->task(ThemeClean::class, $dir);
    }
}