public function unlink($path) { if (self::ERROR_DELETE === self::$error) { return false; } unset(self::$dir[$path]); return true; }