* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Mage\Task\BuiltIn\Composer; use Mage\Task\AbstractTask; /** * Abstract Composer Task * * @author Andrés Montañez */ abstract class AbstractComposerTask extends AbstractTask { /** * @return string[] */ protected function getOptions(): array { $options = array_merge( ['path' => 'composer'], $this->getComposerOptions(), $this->runtime->getMergedOption('composer'), $this->options ); return $options; } /** * @return array */ protected function getComposerOptions(): array { return []; } }