protected static function getOptions(CommandEvent $event)
    {
        $options = array_merge(
            array(
                'teleport-tpl-dir' => 'tpl',
                'teleport-tpl-update' => true
            ),
            $event->getComposer()->getPackage()->getExtra()
        );
        return $options;
    }
protected static function getOptions(CommandEvent $event)
    {
        $options = array_merge(
            array(
                'teleport-tpl-dir' => 'tpl',
                'teleport-tpl-update' => true
            ),
            $event->getComposer()->getPackage()->getExtra()
        );
        return $options;
    }
protected static function getOptions ( CommandEvent $ event ) { $ options = array_merge ( array ( 'teleport-tpl-dir' => 'tpl' , 'teleport-tpl-update' => true ) , $ event -> getComposer ( ) -> getPackage ( ) -> getExtra ( ) ) ; return $ options ; }
Get the config data from the extra definition in composer.json.

@param CommandEvent $event The composer Event object.

@return array An array of options from the package extra.
Get the config data from the extra definition in composer . json .