Moosh\Command\Moodle29\Course\CourseRestore::__construct PHP Метод

__construct() публичный Метод

public __construct ( )
    public function __construct()
    {
        parent::__construct('restore', 'course');
        $this->addArgument('backup_file');
        $this->addArgument('category_id');
        $this->addOption('d|directory', 'restore from extracted directory (1st param) under tempdir/backup');
        $this->addOption('e|existing', 'restore into existing course, id provided instead of category_id');
        $this->addOption('o|overwrite', 'restore into existing course, overwrite current content, id provided instead of category_id');
    }