public function setSources(array $sources)
    {
        $parameters = $this
            ->configuration
            ->getParameters();
        $parameters['sources'] = $sources;

        $this
            ->configuration
            ->setParameters($parameters);
    }
public function setSources(array $sources)
    {
        $parameters = $this
            ->configuration
            ->getParameters();
        $parameters['sources'] = $sources;

        $this
            ->configuration
            ->setParameters($parameters);
    }
public function setSources ( array $ sources ) { $ parameters = $ this -> configuration -> getParameters ( ) ; $ parameters [ 'sources' ] = $ sources ; $ this -> configuration -> setParameters ( $ parameters ) ; }
Define the task new sources.

@param array $sources
Define the task new sources .