includes/phing/src/Tasks/GitignoreMergerTask.php
public function setGitignoreFiles($gitignoreFiles)
    {
        $this->gitignoreFiles = array();
        $token                = ' ,;';
        $file                 = strtok($gitignoreFiles, $token);

        while ($file !== false) {
            $this->gitignoreFiles[] = $file;
            $file = strtok($token);
        }

    }
public function setGitignoreFiles($gitignoreFiles)
    {
        $this->gitignoreFiles = array();
        $token                = ' ,;';
        $file                 = strtok($gitignoreFiles, $token);

        while ($file !== false) {
            $this->gitignoreFiles[] = $file;
            $file = strtok($token);
        }

    }
public function setGitignoreFiles ( $ gitignoreFiles ) { $ this -> gitignoreFiles = array ( ) ; $ token = ' ,;' ; $ file = strtok ( $ gitignoreFiles , $ token ) ; while ( $ file !== false ) { $ this -> gitignoreFiles [ ] = $ file ; $ file = strtok ( $ token ) ; } }
Sets the list gitignore gitignoreFiles to merge.

@param string $gitignoreFiles list of ignore files to be merged

@return void
Sets the list gitignore gitignoreFiles to merge .