Exakat\Tasks\Tasks::removeSnitch PHP Méthode

removeSnitch() protected méthode

protected removeSnitch ( )
    protected function removeSnitch()
    {
        static $snitch, $path;
        if ($snitch === null) {
            $snitch = str_replace('Exakat\\Tasks\\', '', get_class($this));
            $pid = getmypid();
            $path = $this->config->projects_root . '/projects/.exakat/' . $snitch . '.json';
        }
        unlink($path);
    }