N98\Magento\Command\Installer\InstallCommandTest::setup PHP Метод

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

Create temp dir for install
public setup ( )
    public function setup()
    {
        $installDir = sys_get_temp_dir() . "/mageinstall";
        if (is_readable($installDir)) {
            $result = rmdir($installDir);
            if (!$result) {
                throw new RuntimeException(sprintf('Failed to remove temporary install dir %s', var_export($installDir)));
            }
        }
        $this->installDir = $installDir;
    }