public function execute(Arguments $args, ConsoleIo $io)
    {
        $this->createFile($io, Folder::slashTerm(WWW_ROOT) . 'robots.txt', 'User-agent: *' . PHP_EOL .
            'Disallow: /admin/' . PHP_EOL . 'Disallow: /ckeditor/' . PHP_EOL .
            'Disallow: /css/' . PHP_EOL . 'Disallow: /js/' . PHP_EOL .
            'Disallow: /vendor/');

        return null;
    }
public function execute(Arguments $args, ConsoleIo $io)
    {
        $this->createFile($io, Folder::slashTerm(WWW_ROOT) . 'robots.txt', 'User-agent: *' . PHP_EOL .
            'Disallow: /admin/' . PHP_EOL . 'Disallow: /ckeditor/' . PHP_EOL .
            'Disallow: /css/' . PHP_EOL . 'Disallow: /js/' . PHP_EOL .
            'Disallow: /vendor/');

        return null;
    }
public function execute ( Arguments $ args , ConsoleIo $ io ) { $ this -> createFile ( $ io , Folder :: slashTerm ( WWW_ROOT ) . 'robots.txt' , 'User-agent: *' . PHP_EOL . 'Disallow: /admin/' . PHP_EOL . 'Disallow: /ckeditor/' . PHP_EOL . 'Disallow: /css/' . PHP_EOL . 'Disallow: /js/' . PHP_EOL . 'Disallow: /vendor/' ) ; return null ; }
Creates the `robots.txt` file
@param Arguments $args The command arguments
@param ConsoleIo $io The console io
@return null|int The exit code or null for success
@uses Command::createFile()
Creates the robots . txt file