public function write()
    {
        $capfile = '';

        foreach ($this->parameters as $namespace) {
            $line = str_replace('<requirement>', $namespace, self::$template);
            $capfile = sprintf('%s%s%s', $capfile, PHP_EOL, $line);
        }

        $capfile .= self::$importTemplate;

        fwrite($this->file, $this->addHeaders($capfile));
    }
public function write()
    {
        $capfile = '';

        foreach ($this->parameters as $namespace) {
            $line = str_replace('<requirement>', $namespace, self::$template);
            $capfile = sprintf('%s%s%s', $capfile, PHP_EOL, $line);
        }

        $capfile .= self::$importTemplate;

        fwrite($this->file, $this->addHeaders($capfile));
    }
public function write ( ) { $ capfile = '' ; foreach ( $ this -> parameters as $ namespace ) { $ line = str_replace ( '<requirement>' , $ namespace , self :: $ template ) ; $ capfile = sprintf ( '%s%s%s' , $ capfile , PHP_EOL , $ line ) ; } $ capfile .= self :: $ importTemplate ; fwrite ( $ this -> file , $ this -> addHeaders ( $ capfile ) ) ; }
Writes Capfile.
Writes Capfile .